Synopsis
PDX_BOOL ugn_GetMemoryShort(long opt, int count, int size, void *madd)
Purpose
Allocate memory.
Description
Routine to allocate some memory based on the input values.
Input
opt
UGN_MALLOC
Allocate with malloc.
UGN_CALLOC
Allocate with calloc.
count
Number of elements to allocate memory for.
size
Size of element to be allocated - in bytes.
Output
madd
Pointer to address pointer for allocated memory
Return
PDX_TRUE or PDX_FALSE