next up previous 252
Next: cnfExpn - Export a C string to a FORTRAN string, copying a given maximum number of characters
Up: CNF C Routine Descriptions
Previous: cnfExpch - Export a C array of char to a FORTRAN string.


cnfExpla - Export a C int array to a FORTRAN LOGICAL array

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

Invocation:
cnfExpla( source_c, dest_f, ndims, dims)

Arguments:

const int *source_c (Given)
A pointer to the input C array
F77_LOGICAL_TYPE *dest_f (Returned via pointer)
A pointer to the FORTRAN output 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: cnfExpn - Export a C string to a FORTRAN string, copying a given maximum number of characters
Up: CNF C Routine Descriptions
Previous: cnfExpch - Export a C array of char to a FORTRAN string.

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