[Mono-list] embedding mono and returning GList

Nils Andresen nils at nils-andresen.de
Sun May 22 15:51:43 EDT 2011

2011/5/22 Robert Jordan <robertj at gmx.net>:
> mono_object_unbox() returns a pointer to your intptr, so you
> have to dereference it:
> GList *list = *(GList**)mono_object_unbox (o);

Thank you, Robert - you are amazing!!
And I definitively have to read up on the usage of pointers - and on
how many asterisks I can combine in one single line..

Thank you all for the help!


More information about the Mono-list mailing list