cxCoordDup - duplicate coordinates
#include <cx/DataAccess.h>

cxCoord *cxCoordDup(cxCoord *src)
integer function cxCoordDup(src)
integer src
Coordinate data structure to be copied.
Returns a pointer to a duplicate of src, or NULL if its input is malformed or if an allocation error occurs.

cxCoordDup duplicates the coordinates in src and returns a pointer to the duplicate.

See cxDataManAbortOnError for more details on writing portable module code that copes well with limited memory.


[ Documentation Home ]