Description
The routine CPXmalloc() is used to allocate memory on the system heap that is managed by the CPLEX Callable Library. It has the same semantics as the standard C library function malloc(). Note that memory allocated by CPXmalloc() should be freed by calling CPXfree().Return Value
The routine returns a pointer to a block of allocated memory, or NULL if no memory is available.Synopsis
CPXVOIDptr CPXmalloc (size_t size);
size_t sizeThe number of bytes to allocate.
p = CPXmalloc (10);