NAME

cxCoordDup - duplicate coordinates

C SPECIFICATION

#include <cx/DataAccess.h>

cxCoord *cxCoordDup(cxCoord *src)

FORTRAN SPECIFICATION

integer function cxCoordDup(src)
integer src

PARAMETERS

src
Coordinate data structure to be copied.

FUNCTION RETURN VALUE

Returns a pointer to a duplicate of src, or NULL if its input is malformed or if an allocation error occurs.

DESCRIPTION

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.

SEE ALSO

cxDataManAbortOnError



[ Documentation Home ]