¡@

Home 

c++ Programming Glossary: c_func_using_func_ptr

pass fortran 77 function to C/C++

http://stackoverflow.com/questions/2902186/pass-fortran-77-function-to-c-c

a pointer to the Fortran function my_poly to the C routine C_Func_using_Func_ptr and receives the result back from that C function. module func_pointer_mod.. implicit none interface C_func_interface function C_Func_using_Func_ptr x Func_ptr bind C name C_Func_using_Func_ptr import real c_float.. function C_Func_using_Func_ptr x Func_ptr bind C name C_Func_using_Func_ptr import real c_float C_Func_using_Func_ptr real c_float VALUE..