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.
29286 Discussions

Converting/casting C_FUNPTR pointer into a C_INTPTR_T pointer?

Syed_R_
Beginner
800 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
800 Views

You could use the TRANSFER intrinsic.

0 Kudos
Syed_R_
Beginner
800 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
800 Views

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

0 Kudos
Reply