[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]New internalcall interface coming

From: Rhys Weatherley
Subject: [DotGNU]New internalcall interface coming
Date: Fri, 29 Mar 2002 17:29:08 +1000

Hi all,

I'm in the middle of rearranging the way internalcall methods
are integrated into the engine, and will be comitting a bunch
of changes in a few days.

Anyway, the new system will work as follows:

Instead of manually building the "IL_METHOD" tables, and
the class table in "internal.c", the new "ilinternal" program
will be used to scan "mscorlib.dll" and "System.dll" looking
for all internalcall methods.

This program writes out C declarations for all of the functions
that need to be implemented, together with the method tables
that declare everything.

This makes the process a little more automated, and also
will make it easier to catch missing internalcalls: the engine
won't link if a method is missing.

Combined with the upcoming changes to cscc to support
attributes, this should take a lot of the pain out of hooking
new internalcall methods into the engine.

For the time being, it would be a good idea for CVS
committers to keep out of the internalcall parts of the
engine until I can commit all of these changes back.
Other parts of the system should be safe to work on,
and declaring new internalcall's in pnetlib is also OK.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]