Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Converting/casting C_FUNPTR pointer into a C_INTPTR_T pointer?

Syed_R_
Beginner
797 Views

How to I convert/cast a C_FUNPTR pointer into a C_INTPTR_T pointer? Please help!

0 Kudos
3 Replies
IanH
Honored Contributor III
797 Views

You could use the TRANSFER intrinsic.

0 Kudos
Syed_R_
Beginner
797 Views

Thanks that TRANSFER intrinsic function works.

How do I convert/cast a C_PRT pointer into a HANDLE? The TRANSFER instrinsic function does not work here. Please help!

0 Kudos
Steven_L_Intel1
Employee
797 Views

See your other thread.  TRANSFER works just like it does for C_FUNPTR.

0 Kudos
Reply