cnfCptr

Convert a FORTRAN pointer to a C pointer

Description:

Given a FORTRAN pointer, stored in a variable of type F77_POINTER_TYPE, this function returns the equivalent C pointer. Note that this conversion is only performed if the C pointer has originally been registered (using cnfRegp) for use from both C and FORTRAN. All pointers to space allocated by cnfCalloc and cnfMalloc are automatically registered in this way.

Invocation

cpointer = cnfCptr( fpointer )

Arguments

F77_POINTER_TYPE fpointer (Given)
The FORTRAN pointer value.

Returned Value

void cnfCptr
The equivalent C pointer.

Notes: