[Mono-list] PInvoke:TNG

Rhys Weatherley rweather@zip.com.au
Fri, 27 Jul 2001 17:50:45 +1000

Fergus Henderson wrote:

> The other approach is to write wrappers in C.
> Then you don't need any #ifdefs.

But you do need to write the wrappers.  While
this isn't too much of a hassle for the Posix stuff,
it will quickly become a nightmare when wrapping
something the size of GTK+/GNOME.  The more
marshalling knowledge that we can write in C#,
the easier it is to port.