next up previous 252
Next: CNF C Routine Descriptions
Up: Classified List of CNF Functions
Previous: LOGICAL Array Handling


Memory and Pointer Handling

cnfCalloc
Allocate space that may be accessed from C and FORTRAN
cnfCptr
Convert a FORTRAN pointer to a C pointer
cnfFptr
Convert a C pointer to a FORTRAN pointer
cnfFree
Free allocated space
cnfMalloc
Allocate space that may be accessed from C and FORTRAN
cnfRegp
Register a pointer for use from both C and FORTRAN
cnfUregp
Unregister a pointer previously registered using cnfRegp
cnfpVAL
Expand a FORTRAN pointer to its full value (FORTRAN function)


next up previous 252
Next: CNF C Routine Descriptions
Up: Classified List of CNF Functions
Previous: LOGICAL Array Handling

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
P.W. Draper
D.S. Berry
12 May 2011
E-mail:starlink@jiscmail.ac.uk

Copyright © 2014 Science and Technology Facilities Council