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. If space for the duplicate cannot be allocated, a NULL will be returned, and subsequent calls to cxDataAllocErrorGet will return non-zero.

SEE ALSO

cxDataAllocErrorGet(3E)
Last modified: May 26 11:53 1999
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999