[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h, 1.84, 1.85 int_table
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h, 1.84, 1.85 int_table.c, 1.87, 1.88 lib_info.c, 1.5, 1.6 |
Date: |
Thu, 18 Sep 2003 22:12:46 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv28705/engine
Modified Files:
int_proto.h int_table.c lib_info.c
Log Message:
Add the "InfoMethods.GetPlatformName" internalcall to the engine.
Index: int_proto.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_proto.h,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -r1.84 -r1.85
*** int_proto.h 1 Sep 2003 00:37:43 -0000 1.84
--- int_proto.h 19 Sep 2003 02:12:44 -0000 1.85
***************
*** 299,302 ****
--- 299,303 ----
extern ILString * _IL_Assembly_GetSatellitePath(ILExecThread * _thread,
ILObject * _this, ILString * _p1);
extern ILObject * _IL_Assembly_LoadFromFile(ILExecThread * _thread, ILString
* _p1, ILInt32 * error, ILObject * _p3);
+ extern System_Array * _IL_Assembly_GetTypes(ILExecThread * _thread, ILObject
* _this);
extern ILString * _IL_Assembly_GetFullName(ILExecThread * _thread, ILObject *
_this);
extern ILObject * _IL_Assembly_GetModuleInternal(ILExecThread * _thread,
ILObject * _this, ILString * _p1);
***************
*** 307,311 ****
extern ILObject * _IL_Assembly_GetManifestResourceInfo(ILExecThread *
_thread, ILObject * _this, ILString * _p1);
extern System_Array * _IL_Assembly_GetManifestResourceNames(ILExecThread *
_thread, ILObject * _this);
- extern System_Array * _IL_Assembly_GetTypes(ILExecThread * _thread, ILObject
* _this);
extern ILObject * _IL_Assembly_LoadFromName(ILExecThread * _thread, ILString
* _p1, ILInt32 * error, ILObject * _p3);
extern ILString * _IL_Assembly_GetLocation(ILExecThread * _thread, ILObject *
_this);
--- 308,311 ----
***************
*** 557,560 ****
--- 557,561 ----
extern ILString * _IL_InfoMethods_GetUserName(ILExecThread * _thread);
extern ILInt64 _IL_InfoMethods_GetWorkingSet(ILExecThread * _thread);
+ extern ILString * _IL_InfoMethods_GetPlatformName(ILExecThread * _thread);
extern ILString * _IL_InfoMethods_GetGlobalConfigDir(ILExecThread * _thread);
Index: int_table.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_table.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -r1.87 -r1.88
*** int_table.c 1 Sep 2003 00:37:43 -0000 1.87
--- int_table.c 19 Sep 2003 02:12:44 -0000 1.88
***************
*** 1571,1574 ****
--- 1571,1575 ----
IL_METHOD("GetSatellitePath", "(ToSystem.String;)oSystem.String;",
_IL_Assembly_GetSatellitePath, marshal_pppp)
IL_METHOD("LoadFromFile",
"(oSystem.String;&ioSystem.Reflection.Assembly;)oSystem.Reflection.Assembly;",
_IL_Assembly_LoadFromFile, marshal_ppppp)
+ IL_METHOD("GetTypes", "(T)[oSystem.Type;", _IL_Assembly_GetTypes,
marshal_ppp)
IL_METHOD("GetFullName", "(T)oSystem.String;",
_IL_Assembly_GetFullName, marshal_ppp)
IL_METHOD("GetModuleInternal",
"(ToSystem.String;)oSystem.Reflection.Module;", _IL_Assembly_GetModuleInternal,
marshal_pppp)
***************
*** 1579,1583 ****
IL_METHOD("GetManifestResourceInfo",
"(ToSystem.String;)oSystem.Reflection.ManifestResourceInfo;",
_IL_Assembly_GetManifestResourceInfo, marshal_pppp)
IL_METHOD("GetManifestResourceNames", "(T)[oSystem.String;",
_IL_Assembly_GetManifestResourceNames, marshal_ppp)
- IL_METHOD("GetTypes", "(T)[oSystem.Type;", _IL_Assembly_GetTypes,
marshal_ppp)
IL_METHOD("LoadFromName",
"(oSystem.String;&ioSystem.Reflection.Assembly;)oSystem.Reflection.Assembly;",
_IL_Assembly_LoadFromName, marshal_ppppp)
IL_METHOD("GetLocation", "(T)oSystem.String;",
_IL_Assembly_GetLocation, marshal_ppp)
--- 1580,1583 ----
***************
*** 2525,2528 ****
--- 2525,2529 ----
IL_METHOD("GetUserName", "()oSystem.String;",
_IL_InfoMethods_GetUserName, marshal_pp)
IL_METHOD("GetWorkingSet", "()l", _IL_InfoMethods_GetWorkingSet,
marshal_lp)
+ IL_METHOD("GetPlatformName", "()oSystem.String;",
_IL_InfoMethods_GetPlatformName, marshal_pp)
IL_METHOD("GetGlobalConfigDir", "()oSystem.String;",
_IL_InfoMethods_GetGlobalConfigDir, marshal_pp)
IL_METHOD_END
Index: lib_info.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_info.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** lib_info.c 31 Aug 2003 03:45:43 -0000 1.5
--- lib_info.c 19 Sep 2003 02:12:44 -0000 1.6
***************
*** 70,73 ****
--- 70,81 ----
/*
+ * public static String GetPlatformName();
+ */
+ ILString *_IL_InfoMethods_GetPlatformName(ILExecThread *thread)
+ {
+ return ILStringCreate(thread, ILGetPlatformName());
+ }
+
+ /*
* public static String GetUserDomainName();
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h, 1.84, 1.85 int_table.c, 1.87, 1.88 lib_info.c, 1.5, 1.6,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/include il_system.h,1.18,1.19
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/support Makefile.am, 1.47, 1.48 path.c, 1.4, 1.5
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/include il_system.h,1.18,1.19
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/support Makefile.am, 1.47, 1.48 path.c, 1.4, 1.5
- Index(es):