[Mono-list] What's the best way for me to contribute?

Paolo Molaro lupus@ximian.com
Mon, 16 Jul 2001 10:00:45 +0200


> PInvoke basically allows you to invoke methods from managed code (ie,
> the garbage collected, virtual execution environment) into traditional
> libraries.
> 
> PInvoke supports a number of mechanisms for calling a function, and
> various modes of marshalling data and passing data back and forth.
> This is obviously system dependant, as we need to dynamically generate
> code that would marshal or pass the arguments to the native function,
> and then decode the return values.
> 
> This is obviously platform dependant, so we must abstract this. 

libffi already does this: sources.redhat.com/libffi.
Some glue code is needed, but the hard stuff is already done
(the new version may need testing and bugfixes, check the cvs).

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better