[Mono-list] mono_method_get_unmanaged_thunk
Andrius Bentkus
ToXedVirus at gmail.com
Sat Jun 21 08:20:54 EDT 2008
Robert Jordan wrote:
>
> mono_get_delegate_invoke () expects a delegate class as an
> argument:
>
> static void*
> gimme (MonoDelegate * obj)
> {
> MonoMethod * method =mono_get_delegate_invoke (
> mono_object_get_class ((MonoObject*)obj));
> }
>
This wont work, but i used the code from
http://www.nabble.com/file/p18043758/libtest.c libtest.c and
http://www.nabble.com/file/p18043758/thunks.cs thunks.cs which i found in
the /mono/tests directory in the revision of mono you told me to use.
It seems to me that mono_method_get_unmanaged_thunk requires a function
handle instead of a monomethod.
--
View this message in context: http://www.nabble.com/mono_method_get_unmanaged_thunk-tp18018017p18043758.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list