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: 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
P.W. Draper
18 April 2008
E-mail:starlink@jiscmail.ac.uk
Copyright © 2013 Science and Technology Facilities Council