[Mono-dev] how does unmanaged callback marshalling work in full aot?
grompf at gmail.com
Fri Jul 29 17:14:36 EDT 2011
It is disabled in full-aot environments. Full-aot only supports static delegates to be pinvoked, and even then they need to be decorated with a special attribute.
See https://github.com/mono/mono/blob/master/mono/mini/aot-compiler.c around line 2793.
On 2011-07-29, at 5:03 PM, Brian Luczkiewicz wrote:
> I'm having trouble seeing how an arbitrary delegate can be marshalled into an unmanaged function pointer without runtime code generation to capture the object pointer.
> Is this functionality disabled in full-aot environments or is it accomplished by some mechanism that I'm not considering?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list