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: