next up previous 252
Next: cnfExpch - Export a C array of char to a FORTRAN string.
Up: CNF C Routine Descriptions
Previous: cnfCreim - Create a temporary C string and import a FORTRAN string into it discarding trailing blanks


cnfCrela - Create a temporary FORTRAN LOGICAL array and return a pointer to it.

Description:
Memory is obtained for a FORTRAN LOGICAL array, of the specified dimensions and a pointer is returned which may be passed from C to a FORTRAN subroutine. The array is not initialised.

Invocation:
string_f = cnfCrela( ndims, dims )

Arguments:

int ndims (Given)
The number of dimensions of the FORTRAN array
const int *dims (Given)
A 1-D array giving the dimensions of the FORTRAN array.

Returned Value:

F77_LOGICAL_TYPE *cnfCrefa
A pointer to the storage that has been allocated by this routine.

Notes:



next up previous 252
Next: cnfExpch - Export a C array of char to a FORTRAN string.
Up: CNF C Routine Descriptions
Previous: cnfCreim - Create a temporary C string and import a FORTRAN string into it discarding trailing blanks

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
19 January 2000
E-mail:ussc@star.rl.ac.uk