[Mono-list] Internal calls

Paolo Molaro lupus@ximian.com
Mon, 11 Feb 2002 13:15:45 +0100


On 02/09/02 Dan Lewis wrote:
> While looking at what to do with the Windows.cs class, I wrote a little tool to
> scan the mono assemblies for internal calls. It takes the methods it finds and
> generates two files: icall.h and icall_init.c

The plan was to develop something like this also to generate the C structures
from corlib of some objects, like the reflection ones used in
reflection.h.

> Since people are likely to be adding internal calls to the core assemblies as
> our runtime becomes more complete, I thought this might be useful to ensure
> consistency between the assemblies and the runtime. So if you think this is
> useful/a bad idea/already implemented give me a mail.

I think only corlib should have internal calls, the other asseblies
should be mostly independent of the actual runtime, I guess.
I think the tool is useful (it was already planned), so you can commit
it in cvs, but I'd wait to deploy it until we have mcs and corlib
compiling on Linux, since otherwise it may cause build problems
for some people.

Thanks.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better