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

cxCoord(3E), cxDataAllocErrorGet(3E)
Last modified: Mon Nov 18 13:47:33 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996