I have one more question:
If in the c funtion, I defined some macro and enum, and my c funtion call use these enum as argument, How can i call this function in fortran?
example:
in c:
typedef enum
{ X =0,
Y = 1
}FORMAT
...
void foo_(FORMAT myformat);
thanks a lot.
tan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.