# Synopsis

PDX_MSGT mda_CallocArray(long option, void *ent, size_t size, void *ptr, int ndims, ...)

# Purpose

Dynamically allocate a multi-dimensional array.

# Description

This function is a compatibility wrapper for mda_MallocArray. mda_MallocArray always initializes the allocated memory to 0 so there is no functional difference. See mda_MallocArray for additional information and argument descriptions.

# Input

## option

Options (not used)

## ent

The entity which owns the allocated memory

## size

The number of bytes in each array element

## ptr

Address to store the allocated memory pointer at

## ndims

The number of dimensions in the array @a ... The dimensions listed from left most to right most specified as MDA_COUNT values

# Output

## ptr

The allocated memory

# Return

MDA error code