[Mono-list] mono_method_get_unmanaged_thunk
Robert Jordan
robertj at gmx.net
Fri Jun 20 12:00:16 EDT 2008
Andrius Bentkus wrote:
>
> Robert Jordan wrote:
>> The code is in SVN and it will be released with the next version.
>>
>
> Since im not very familiar with the development cycle in opensource
> projects/the mono project...
> Will it be in the Mono 2.0 release, which will be released in september, or
> will it be released with the 19.2 version?
See http://www.mono-project.com/Mono_Project_Roadmap
> Another question:
> I've got an internal function in C, which im exposing to the managed world
> with the mono_add_internal_call call. The function in C# has a Delegate as a
> paramater.
> Now the big question is, what parameter do i have to use in the C function,
> MonoObject or MonoMethod?
> If its an MonoObject (and a delegate since im passing a delegate in the C#
> code), how can i extract the monomethod from that object?
It's a MonoDelegate*. You can obtain its MonoMethod* with
MonoMethod* mono_get_delegate_invoke (MonoDelegate*).
Robert
More information about the Mono-list
mailing list