[Mono-list] PInvoke Conventions

Miguel de Icaza miguel@ximian.com
30 Jul 2001 21:10:41 -0400

Just for the record:

Fergus said:

> Write a single wrapper (in unmanaged C/C++) and compile it once for each
> different platform.

This is what we will be effectively doing in Mono, if only because
this way we can keep our runtime smaller (compared to the other

If people in Portable.NET feel they need the attributed version, I am
willing to put any code changes they need, but I want to keep our
PInvoke implementation trivial, and to do so, we will stick to
generated unmanaged libraries to be the interface to the world.