Intrinsic Module Subroutine: Associates a Fortran pointer of type INTEGER with the target of a C function pointer.
USE, INTRINSIC :: ISO_C_BINDING
CALL C_F_POINTER(cptr, fptr)
cptr |
(Input) Is a scalar of derived type C_FUNPTR. Its value is the C address of a procedure that is interoperable. |
fptr |
(Output) Is a Fortran pointer of type INTEGER. It becomes pointer-associated with the target of cptr. |