I have no problems to interface such a function in C with the next prototype:
int foo(int a, int b); Problemas arise when dealing with variable-arguments prototypes like : int foo( int a, ...); How to solve it ? is Template GreenCard designed to deal with this kind of functions ? Where to download an example ? _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi