[Mono-dev] Internal Call registration
Rodrigo Kumpera
kumpera at gmail.com
Wed Jun 1 09:28:54 EDT 2011
Hello,
Yes, that's precisely the difference. icall-def.h is done this way to
optimize
startup time as it generates a set of static tables instead of populating a
hashtable.
It's not meant for embedder to use, tho. Both the JIT and others should use
mono_add_internal_call.
On Wed, Jun 1, 2011 at 8:55 AM, Martin Däumler <mdae at cs.tu-chemnitz.de>wrote:
> Hello,
>
> what is the difference between internal call registration via
> "mono_add_internal_call()" and the interface in "icall-def.h"?
> I used both possibilities and both work. In both cases, the
> internal calls are bound to a certain namespace. I guess that
> the internal calls listed in "icall-def.h" are for more Mono
> internal use and the ones registered via "mono_add_internal_call()"
> are more user-defined.
>
>
> With kind regards,
> Martin Däumler
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110601/2a5d4b17/attachment.html
More information about the Mono-devel-list
mailing list