c - Opaque pointers in F77 -
I have a project that is half in C and half in Fotter 77. [No, Fortran 9 0 or 03, Fortran 77] The code would be very clean if I could pass Fortran back to the generated pointers, which will again send them back to the other C function for handling them as needed. Anyway, the C code is filled with a global variable, which should not be universal, and otherwise is on the verge of becoming a unstructured dirt. So what are the reliable ways to pass an opaque pointer between the C and Fortress?
You can do this (with non-standard) cray pointer extension:
< P>
Comments
Post a Comment