A wrapper also gives the ability to use something else internally - perhaps the XptCall stuff from Mozilla which certainly works with MSVC. (I haven't really looked at the portability of libffi. The libgcj version is mixed up with GCC extensions, but that may not be fundamental to its operations.)
I basically agree with your notion of glib wrapper functions for this. Note that the Python ctypes module uses code from libffi and works with MSVC, but I haven't looked at the details yet.
The URL for ctypes is http://starship.python.net/crew/theller/ctypes
Cheers,
John _______________________________________________ language-bindings mailing list [email protected] http://mail.gnome.org/mailman/listinfo/language-bindings
