[Gtk-sharp-list] Custom Marshalers

dietmar dietmar@ximian.com
11 Jun 2003 12:29:03 +0200


I just want to drop a note here that I implemented custom marshalers in
mono. I don't know if its really useful for gtk#, but it could be used
to solve the string return type problem (returning a String without
freeing it (see mono/mono/tests/marshal10.cs), or use a custom function
to free the string (g_free)). And I guess there are much more thinks we
can do with custom marshalers (another example is in
mono/mono/tests/marshal9.cs)

- Dietmar