Next: References
Up: CNF FORTRAN Function Description
Previous: CNF FORTRAN Function Description
CNF_PVAL
- Expand a FORTRAN pointer to its full value
- Description:
- Given a FORTRAN pointer, stored in an INTEGER variable, this
function returns the full value of the pointer (on some
platforms, this may be longer than an INTEGER). Typically, this
is only required when the pointer is used to pass dynamically
allocated memory to another routine using the %VAL facility.
- Invocation:
- CALL DOIT( ..., %VAL( CNF_PVAL( FPTR ) ), ... )
- Arguments:
-
-
FPTR = INTEGER (Given)
-
The FORTRAN pointer value.
- Returned Value:
-
-
CNF_PVAL
-
The full pointer value.
- Notes:
- The data type of this function will depend on the platform in
use and is declared in the include file CNF_PAR.
Next: References
Up: CNF FORTRAN Function Description
Previous: CNF FORTRAN Function Description
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