next up previous 252
Next: cnfImpn - Import no more than max characters from a FORTRAN string into a C string
Up: CNF C Routine Descriptions
Previous: cnfImpch - Import a FORTRAN string into a C array of char.


cnfImpla - Import a FORTRAN LOGICAL array into a C int array

Description:
Import a FORTRAN LOGICAL array into a C int array setting appropriate TRUE or FALSE values in the C array.

Invocation:
cnfImpla( source_f, dest_c, ndims, dims)

Arguments:

const F77_LOGICAL_TYPE *source_f (Given)
A pointer to the input FORTRAN array
int *dest_c (Returned via pointer)
A pointer to the output C array
int ndims (Given)
The number of dimensions in the arrays
const int *dims (Given)
A pointer to a 1-D array giving the dimensions of the arrays



next up previous 252
Next: cnfImpn - Import no more than max characters from a FORTRAN string into a C string
Up: CNF C Routine Descriptions
Previous: cnfImpch - Import a FORTRAN string into a C array of char.

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