[Mono-list] PInvoke Conventions
Fergus Henderson
fjh@cs.mu.oz.au
Sat, 4 Aug 2001 16:02:32 +1000
On 28-Jul-2001, Miguel de Icaza <miguel@ximian.com> wrote:
>
> > The trick is coming up with a *standard* way of doing
> > this black magic. I fear that if the "C wrapper" crowd
> > wins this war, then the resulting C# library will only work
> > with Mono's VM and the rest of us will have to start
> > from scratch.
>
> I have to disagree with the conclussion Rhys.
Yes. In short, the resulting library should work on any Posix-compliant
platform, with any VM that supports the ECMA-specified "PInvoke" mechanism.
(Posix compliance here means the existance of a C compiler and Posix
libraries, so that you can build the wrapper library.)
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.