dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.59,1.60 int_table.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.59,1.60 int_table.c,1.61,1.62 lib_file.c,1.8,1.9 lib_helpers.c,1.8,1.9 lib_object.c,1.10,1.11 lib_thread.c,1.9,1.10
Date: Thu, 24 Apr 2003 02:00:45 -0400

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv5997/engine

Modified Files:
        int_proto.h int_table.c lib_file.c lib_helpers.c lib_object.c 
        lib_thread.c 
Log Message:


Fixes to various internalcalls.


Index: int_proto.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_proto.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** int_proto.h 19 Apr 2003 04:05:16 -0000      1.59
--- int_proto.h 24 Apr 2003 06:00:43 -0000      1.60
***************
*** 42,53 ****
  extern ILObject * _IL_Delegate_CreateBlankDelegate(ILExecThread * _thread, 
ILObject * _p1, ILObject * _p2);
  
- extern ILBool _IL_BitConverter_GetLittleEndian(ILExecThread * _thread);
- extern ILInt64 _IL_BitConverter_DoubleToInt64Bits(ILExecThread * _thread, 
ILDouble _p1);
- extern ILDouble _IL_BitConverter_Int64BitsToDouble(ILExecThread * _thread, 
ILInt64 _p1);
- extern ILInt32 _IL_BitConverter_FloatToInt32Bits(ILExecThread * _thread, 
ILFloat _p1);
- extern ILFloat _IL_BitConverter_Int32BitsToFloat(ILExecThread * _thread, 
ILInt32 _p1);
- extern System_Array * _IL_BitConverter_GetLittleEndianBytes_f(ILExecThread * 
_thread, ILFloat _p1);
- extern System_Array * _IL_BitConverter_GetLittleEndianBytes_d(ILExecThread * 
_thread, ILDouble _p1);
- 
  extern ILInt32 _IL_Buffer_GetLength(ILExecThread * _thread, ILObject * _p1);
  extern void _IL_Buffer_Copy(ILExecThread * _thread, ILObject * _p1, ILInt32 
_p2, ILObject * _p3, ILInt32 _p4, ILInt32 _p5);
--- 42,45 ----
***************
*** 70,111 ****
  extern void _IL_Decimal_Subtract(ILExecThread * _thread, ILDecimal * _result, 
ILDecimal * _p1, ILDecimal * _p2);
  
- extern ILBool _IL_Double_IsNaN(ILExecThread * _thread, ILDouble _p1);
- extern ILInt32 _IL_Double_TestInfinity(ILExecThread * _thread, ILDouble _p1);
- 
- extern void _IL_GC_KeepAlive(ILExecThread * _thread, ILObject * _p1);
- extern void _IL_GC_ReRegisterForFinalize(ILExecThread * _thread, ILObject * 
_p1);
- extern void _IL_GC_SuppressFinalize(ILExecThread * _thread, ILObject * _p1);
- extern void _IL_GC_WaitForPendingFinalizers(ILExecThread * _thread);
- extern void _IL_GC_Collect(ILExecThread * _thread);
- extern ILInt64 _IL_GC_GetTotalMemory(ILExecThread * _thread, ILBool _p1);
- 
- extern void _IL_Guid_NewGuid(ILExecThread * _thread, void * _result);
- 
- extern ILDouble _IL_Math_Log(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_RoundDouble(ILExecThread * _thread, ILDouble _p1, 
ILInt32 _p2);
- extern ILDouble _IL_Math_Acos(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Asin(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Atan(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Atan2(ILExecThread * _thread, ILDouble _p1, ILDouble 
_p2);
- extern ILDouble _IL_Math_Ceiling(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Cos(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Cosh(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Exp(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Floor(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_IEEERemainder(ILExecThread * _thread, ILDouble _p1, 
ILDouble _p2);
- extern ILDouble _IL_Math_Log10(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Pow(ILExecThread * _thread, ILDouble _p1, ILDouble 
_p2);
- extern ILDouble _IL_Math_Round(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Sin(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Sinh(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Sqrt(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Tan(ILExecThread * _thread, ILDouble _p1);
- extern ILDouble _IL_Math_Tanh(ILExecThread * _thread, ILDouble _p1);
- 
- extern ILNativeInt _IL_RuntimeMethodHandle_GetFunctionPointer(ILExecThread * 
_thread, void * _this);
- 
- extern ILBool _IL_Single_IsNaN(ILExecThread * _thread, ILFloat _p1);
- extern ILInt32 _IL_Single_TestInfinity(ILExecThread * _thread, ILFloat _p1);
- 
  extern System_String * _IL_String_Concat_StringString(ILExecThread * _thread, 
System_String * _p1, System_String * _p2);
  extern System_String * _IL_String_ctor_acii(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILInt32 _p3);
--- 62,65 ----
***************
*** 145,160 ****
  extern void _IL_String_SetChar(ILExecThread * _thread, System_String * _this, 
ILInt32 _p1, ILUInt16 _p2);
  
  extern ILObject * _IL_Type_GetTypeFromHandle(ILExecThread * _thread, void * 
_p1);
  extern void _IL_Type_GetTypeHandle(ILExecThread * _thread, void * _result, 
ILObject * _p1);
  extern ILObject * _IL_Type_GetType(ILExecThread * _thread, ILString * _p1, 
ILBool _p2, ILBool _p3);
  
  extern ILTypedRef _IL_TypedReference_ClrMakeTypedReference(ILExecThread * 
_thread, ILObject * _p1, System_Array * _p2);
  extern ILBool _IL_TypedReference_ClrSetTypedReference(ILExecThread * _thread, 
ILTypedRef _p1, ILObject * _p2);
- extern ILObject * _IL_TypedReference_ToObject(ILExecThread * _thread, 
ILTypedRef _p1);
  
! extern void _IL_WaitHandle_InternalClose(ILExecThread * _thread, ILNativeInt 
_p1);
! extern ILBool _IL_WaitHandle_InternalWaitAll(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILBool _p3);
! extern ILInt32 _IL_WaitHandle_InternalWaitAny(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILBool _p3);
! extern ILBool _IL_WaitHandle_InternalWaitOne(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
  
  extern ILInt32 _IL_Interlocked_CompareExchange_Riii(ILExecThread * _thread, 
ILInt32 * _p1, ILInt32 _p2, ILInt32 _p3);
--- 99,155 ----
  extern void _IL_String_SetChar(ILExecThread * _thread, System_String * _this, 
ILInt32 _p1, ILUInt16 _p2);
  
+ extern ILBool _IL_Double_IsNaN(ILExecThread * _thread, ILDouble _p1);
+ extern ILInt32 _IL_Double_TestInfinity(ILExecThread * _thread, ILDouble _p1);
+ 
+ extern void _IL_GC_KeepAlive(ILExecThread * _thread, ILObject * _p1);
+ extern void _IL_GC_ReRegisterForFinalize(ILExecThread * _thread, ILObject * 
_p1);
+ extern void _IL_GC_SuppressFinalize(ILExecThread * _thread, ILObject * _p1);
+ extern void _IL_GC_WaitForPendingFinalizers(ILExecThread * _thread);
+ extern void _IL_GC_Collect(ILExecThread * _thread);
+ extern ILInt64 _IL_GC_GetTotalMemory(ILExecThread * _thread, ILBool _p1);
+ 
+ extern void _IL_Guid_NewGuid(ILExecThread * _thread, void * _result);
+ 
+ extern ILBool _IL_BitConverter_GetLittleEndian(ILExecThread * _thread);
+ extern ILInt64 _IL_BitConverter_DoubleToInt64Bits(ILExecThread * _thread, 
ILDouble _p1);
+ extern ILDouble _IL_BitConverter_Int64BitsToDouble(ILExecThread * _thread, 
ILInt64 _p1);
+ extern ILInt32 _IL_BitConverter_FloatToInt32Bits(ILExecThread * _thread, 
ILFloat _p1);
+ extern ILFloat _IL_BitConverter_Int32BitsToFloat(ILExecThread * _thread, 
ILInt32 _p1);
+ extern System_Array * _IL_BitConverter_GetLittleEndianBytes_f(ILExecThread * 
_thread, ILFloat _p1);
+ extern System_Array * _IL_BitConverter_GetLittleEndianBytes_d(ILExecThread * 
_thread, ILDouble _p1);
+ 
+ extern ILDouble _IL_Math_Log(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_RoundDouble(ILExecThread * _thread, ILDouble _p1, 
ILInt32 _p2);
+ extern ILDouble _IL_Math_Acos(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Asin(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Atan(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Atan2(ILExecThread * _thread, ILDouble _p1, ILDouble 
_p2);
+ extern ILDouble _IL_Math_Ceiling(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Cos(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Cosh(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Exp(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Floor(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_IEEERemainder(ILExecThread * _thread, ILDouble _p1, 
ILDouble _p2);
+ extern ILDouble _IL_Math_Log10(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Pow(ILExecThread * _thread, ILDouble _p1, ILDouble 
_p2);
+ extern ILDouble _IL_Math_Round(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Sin(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Sinh(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Sqrt(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Tan(ILExecThread * _thread, ILDouble _p1);
+ extern ILDouble _IL_Math_Tanh(ILExecThread * _thread, ILDouble _p1);
+ 
+ extern ILBool _IL_Single_IsNaN(ILExecThread * _thread, ILFloat _p1);
+ extern ILInt32 _IL_Single_TestInfinity(ILExecThread * _thread, ILFloat _p1);
+ 
  extern ILObject * _IL_Type_GetTypeFromHandle(ILExecThread * _thread, void * 
_p1);
  extern void _IL_Type_GetTypeHandle(ILExecThread * _thread, void * _result, 
ILObject * _p1);
  extern ILObject * _IL_Type_GetType(ILExecThread * _thread, ILString * _p1, 
ILBool _p2, ILBool _p3);
  
+ extern ILObject * _IL_TypedReference_ToObject(ILExecThread * _thread, 
ILTypedRef _p1);
  extern ILTypedRef _IL_TypedReference_ClrMakeTypedReference(ILExecThread * 
_thread, ILObject * _p1, System_Array * _p2);
  extern ILBool _IL_TypedReference_ClrSetTypedReference(ILExecThread * _thread, 
ILTypedRef _p1, ILObject * _p2);
  
! extern ILNativeInt _IL_RuntimeMethodHandle_GetFunctionPointer(ILExecThread * 
_thread, void * _this);
  
  extern ILInt32 _IL_Interlocked_CompareExchange_Riii(ILExecThread * _thread, 
ILInt32 * _p1, ILInt32 _p2, ILInt32 _p3);
***************
*** 176,182 ****
--- 171,183 ----
  extern void _IL_Monitor_PulseAll(ILExecThread * _thread, ILObject * _p1);
  
+ extern void _IL_WaitHandle_InternalClose(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern ILBool _IL_WaitHandle_InternalWaitAll(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILBool _p3);
+ extern ILInt32 _IL_WaitHandle_InternalWaitAny(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILBool _p3);
+ extern ILBool _IL_WaitHandle_InternalWaitOne(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
+ 
  extern ILNativeInt _IL_Mutex_InternalCreateMutex(ILExecThread * _thread, 
ILBool _p1, ILString * _p2, ILBool * gotOwnership);
  extern void _IL_Mutex_InternalReleaseMutex(ILExecThread * _thread, 
ILNativeInt _p1);
  
+ extern ILInt32 _IL_Thread_InternalGetThreadId(ILExecThread * _thread);
  extern void _IL_Thread_FinalizeThread(ILExecThread * _thread, ILObject * 
_this);
  extern void _IL_Thread_Abort(ILExecThread * _thread, ILObject * _this);
***************
*** 275,278 ****
--- 276,281 ----
  extern ILInt32 _IL_RuntimeHelpers_InternalOffsetToStringData(ILExecThread * 
_thread);
  extern ILObject * _IL_RuntimeHelpers_GetObjectValue(ILExecThread * _thread, 
ILObject * _p1);
+ extern ILBool _IL_RuntimeHelpers_Equals(ILExecThread * _thread, ILObject * 
_p1, ILObject * _p2);
+ extern ILInt32 _IL_RuntimeHelpers_GetHashCode(ILExecThread * _thread, 
ILObject * _p1);
  
  extern ILObject * _IL_Assembly_GetExecutingAssembly(ILExecThread * _thread);
***************
*** 296,303 ****
  extern ILObject * _IL_MethodBase_GetCurrentMethod(ILExecThread * _thread);
  
- extern ILObject * _IL_ClrConstructor_Invoke(ILExecThread * _thread, ILObject 
* _this, ILInt32 _p1, ILObject * _p2, System_Array * _p3, ILObject * _p4);
- 
  extern ILObject * _IL_FieldInfo_GetFieldFromHandle(ILExecThread * _thread, 
void * _p1);
  
  extern ILObject * _IL_ClrField_GetFieldType(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILObject * _IL_ClrField_GetValue(ILExecThread * _thread, ILObject * 
_this, ILObject * _p1);
--- 299,337 ----
  extern ILObject * _IL_MethodBase_GetCurrentMethod(ILExecThread * _thread);
  
  extern ILObject * _IL_FieldInfo_GetFieldFromHandle(ILExecThread * _thread, 
void * _p1);
  
+ extern ILObject * _IL_Module_GetAssembly(ILExecThread * _thread, ILObject * 
_this);
+ extern ILObject * _IL_Module_GetModuleType(ILExecThread * _thread, ILObject * 
_this);
+ extern ILString * _IL_Module_GetFullName(ILExecThread * _thread, ILObject * 
_this);
+ extern ILObject * _IL_Module_GetType(ILExecThread * _thread, ILObject * 
_this, ILString * _p1, ILBool _p2, ILBool _p3);
+ extern System_Array * _IL_Module_GetTypes(ILExecThread * _thread, ILObject * 
_this);
+ extern ILBool _IL_Module_IsResource(ILExecThread * _thread, ILObject * _this);
+ 
+ extern ILInt32 _IL_ClrType_GetClrArrayRank(ILExecThread * _thread, ILObject * 
_this);
+ extern ILInt32 _IL_ClrType_GetAttributeFlagsImpl(ILExecThread * _thread, 
ILObject * _this);
+ extern ILInt32 _IL_ClrType_GetClrTypeCategory(ILExecThread * _thread, 
ILObject * _this);
+ extern ILObject * _IL_ClrType_GetElementType(ILExecThread * _thread, ILObject 
* _this);
+ extern System_Array * _IL_ClrType_GetInterfaces(ILExecThread * _thread, 
ILObject * _this);
+ extern ILBool _IL_ClrType_IsSubclassOf(ILExecThread * _thread, ILObject * 
_this, ILObject * _p1);
+ extern ILString * _IL_ClrType_GetClrFullName(ILExecThread * _thread, ILObject 
* _this);
+ extern ILObject * _IL_ClrType_GetClrAssembly(ILExecThread * _thread, ILObject 
* _this);
+ extern ILObject * _IL_ClrType_GetClrBaseType(ILExecThread * _thread, ILObject 
* _this);
+ extern ILObject * _IL_ClrType_GetInterface(ILExecThread * _thread, ILObject * 
_this, ILString * _p1, ILBool _p2);
+ extern ILObject * _IL_ClrType_GetMemberImpl(ILExecThread * _thread, ILObject 
* _this, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILObject * _p4, ILInt32 _p5, 
System_Array * _p6, System_Array * _p7);
+ extern ILObject * _IL_ClrType_GetMembersImpl(ILExecThread * _thread, ILObject 
* _this, ILInt32 _p1, ILInt32 _p2, ILObject * _p3, ILString * _p4);
+ extern ILBool _IL_ClrType_IsClrNestedType(ILExecThread * _thread, ILObject * 
_this);
+ extern void _IL_ClrType_GetClrGUID(ILExecThread * _thread, void * _result, 
ILObject * _this);
+ extern ILObject * _IL_ClrType_GetClrModule(ILExecThread * _thread, ILObject * 
_this);
+ extern ILObject * _IL_ClrType_GetClrNestedDeclaringType(ILExecThread * 
_thread, ILObject * _this);
+ extern ILString * _IL_ClrType_GetClrName(ILExecThread * _thread, ILObject * 
_this);
+ extern ILString * _IL_ClrType_GetClrNamespace(ILExecThread * _thread, 
ILObject * _this);
+ extern ILBool _IL_ClrType_IsGenericTypeImpl(ILExecThread * _thread, ILObject 
* _this);
+ extern ILInt32 _IL_ClrType_ArityImpl(ILExecThread * _thread, ILObject * 
_this);
+ extern System_Array * _IL_ClrType_GetInstantiation(ILExecThread * _thread, 
ILObject * _this);
+ extern ILObject * _IL_ClrType_Instantiate(ILExecThread * _thread, ILObject * 
_this, System_Array * _p1);
+ extern ILObject * _IL_ClrType_GetGenericType(ILExecThread * _thread, ILObject 
* _this);
+ 
+ extern ILObject * _IL_ClrConstructor_Invoke(ILExecThread * _thread, ILObject 
* _this, ILInt32 _p1, ILObject * _p2, System_Array * _p3, ILObject * _p4);
+ 
  extern ILObject * _IL_ClrField_GetFieldType(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILObject * _IL_ClrField_GetValue(ILExecThread * _thread, ILObject * 
_this, ILObject * _p1);
***************
*** 307,316 ****
  
  extern ILBool _IL_ClrHelpers_CanAccess(ILExecThread * _thread, ILNativeInt 
_p1);
  extern ILString * _IL_ClrHelpers_GetName(ILExecThread * _thread, ILNativeInt 
_p1);
  extern ILInt32 _IL_ClrHelpers_GetNumParameters(ILExecThread * _thread, 
ILNativeInt _p1);
- extern ILInt32 _IL_ClrHelpers_GetMemberAttrs(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILInt32 _IL_ClrHelpers_GetCallConv(ILExecThread * _thread, ILNativeInt 
_p1);
  extern ILInt32 _IL_ClrHelpers_GetImplAttrs(ILExecThread * _thread, 
ILNativeInt _p1);
- extern ILObject * _IL_ClrHelpers_GetSemantics(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILBool _p3);
  extern System_Array * _IL_ClrHelpers_GetCustomAttributes(ILExecThread * 
_thread, ILNativeInt _p1, ILNativeInt _p2, ILBool _p3);
  extern ILBool _IL_ClrHelpers_IsDefined(ILExecThread * _thread, ILNativeInt 
_p1, ILNativeInt _p2, ILBool _p3);
--- 341,350 ----
  
  extern ILBool _IL_ClrHelpers_CanAccess(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern ILInt32 _IL_ClrHelpers_GetMemberAttrs(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern ILObject * _IL_ClrHelpers_GetSemantics(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILBool _p3);
  extern ILString * _IL_ClrHelpers_GetName(ILExecThread * _thread, ILNativeInt 
_p1);
  extern ILInt32 _IL_ClrHelpers_GetNumParameters(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILInt32 _IL_ClrHelpers_GetCallConv(ILExecThread * _thread, ILNativeInt 
_p1);
  extern ILInt32 _IL_ClrHelpers_GetImplAttrs(ILExecThread * _thread, 
ILNativeInt _p1);
  extern System_Array * _IL_ClrHelpers_GetCustomAttributes(ILExecThread * 
_thread, ILNativeInt _p1, ILNativeInt _p2, ILBool _p3);
  extern ILBool _IL_ClrHelpers_IsDefined(ILExecThread * _thread, ILNativeInt 
_p1, ILNativeInt _p2, ILBool _p3);
***************
*** 323,370 ****
  extern ILObject * _IL_ClrMethod_GetBaseDefinition(ILExecThread * _thread, 
ILObject * _this);
  
  extern ILInt32 _IL_ClrParameter_GetParamAttrs(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILString * _IL_ClrParameter_GetParamName(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILObject * _IL_ClrParameter_GetDefault(ILExecThread * _thread, 
ILNativeInt _p1);
  
- extern ILObject * _IL_ClrProperty_GetPropertyType(ILExecThread * _thread, 
ILNativeInt _p1);
- 
  extern ILInt32 _IL_ClrResourceStream_ResourceRead(ILExecThread * _thread, 
ILNativeInt _p1, ILInt64 _p2, System_Array * _p3, ILInt32 _p4, ILInt32 _p5);
  extern ILInt32 _IL_ClrResourceStream_ResourceReadByte(ILExecThread * _thread, 
ILNativeInt _p1, ILInt64 _p2);
  extern ILUInt8 * _IL_ClrResourceStream_ResourceGetAddress(ILExecThread * 
_thread, ILNativeInt _p1, ILInt64 _p2);
  
! extern ILInt32 _IL_ClrType_GetClrArrayRank(ILExecThread * _thread, ILObject * 
_this);
! extern ILInt32 _IL_ClrType_GetAttributeFlagsImpl(ILExecThread * _thread, 
ILObject * _this);
! extern ILInt32 _IL_ClrType_GetClrTypeCategory(ILExecThread * _thread, 
ILObject * _this);
! extern ILObject * _IL_ClrType_GetElementType(ILExecThread * _thread, ILObject 
* _this);
! extern System_Array * _IL_ClrType_GetInterfaces(ILExecThread * _thread, 
ILObject * _this);
! extern ILBool _IL_ClrType_IsSubclassOf(ILExecThread * _thread, ILObject * 
_this, ILObject * _p1);
! extern ILString * _IL_ClrType_GetClrFullName(ILExecThread * _thread, ILObject 
* _this);
! extern ILObject * _IL_ClrType_GetClrAssembly(ILExecThread * _thread, ILObject 
* _this);
! extern ILObject * _IL_ClrType_GetClrBaseType(ILExecThread * _thread, ILObject 
* _this);
! extern ILObject * _IL_ClrType_GetInterface(ILExecThread * _thread, ILObject * 
_this, ILString * _p1, ILBool _p2);
! extern ILObject * _IL_ClrType_GetMemberImpl(ILExecThread * _thread, ILObject 
* _this, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILObject * _p4, ILInt32 _p5, 
System_Array * _p6, System_Array * _p7);
! extern ILObject * _IL_ClrType_GetMembersImpl(ILExecThread * _thread, ILObject 
* _this, ILInt32 _p1, ILInt32 _p2, ILObject * _p3, ILString * _p4);
! extern ILBool _IL_ClrType_IsClrNestedType(ILExecThread * _thread, ILObject * 
_this);
! extern void _IL_ClrType_GetClrGUID(ILExecThread * _thread, void * _result, 
ILObject * _this);
! extern ILObject * _IL_ClrType_GetClrModule(ILExecThread * _thread, ILObject * 
_this);
! extern ILObject * _IL_ClrType_GetClrNestedDeclaringType(ILExecThread * 
_thread, ILObject * _this);
! extern ILString * _IL_ClrType_GetClrName(ILExecThread * _thread, ILObject * 
_this);
! extern ILString * _IL_ClrType_GetClrNamespace(ILExecThread * _thread, 
ILObject * _this);
! extern ILBool _IL_ClrType_IsGenericTypeImpl(ILExecThread * _thread, ILObject 
* _this);
! extern ILInt32 _IL_ClrType_ArityImpl(ILExecThread * _thread, ILObject * 
_this);
! extern System_Array * _IL_ClrType_GetInstantiation(ILExecThread * _thread, 
ILObject * _this);
! extern ILObject * _IL_ClrType_Instantiate(ILExecThread * _thread, ILObject * 
_this, System_Array * _p1);
! extern ILObject * _IL_ClrType_GetGenericType(ILExecThread * _thread, ILObject 
* _this);
! 
! extern ILObject * _IL_Module_GetAssembly(ILExecThread * _thread, ILObject * 
_this);
! extern ILObject * _IL_Module_GetModuleType(ILExecThread * _thread, ILObject * 
_this);
! extern ILString * _IL_Module_GetFullName(ILExecThread * _thread, ILObject * 
_this);
! extern ILObject * _IL_Module_GetType(ILExecThread * _thread, ILObject * 
_this, ILString * _p1, ILBool _p2, ILBool _p3);
! extern System_Array * _IL_Module_GetTypes(ILExecThread * _thread, ILObject * 
_this);
! extern ILBool _IL_Module_IsResource(ILExecThread * _thread, ILObject * _this);
  
  extern ILNativeInt _IL_AssemblyBuilder_ClrAssemblyCreate(ILExecThread * 
_thread, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILInt32 _p4, ILInt32 _p5, 
ILInt32 _p6, ILNativeInt * writer);
  extern void _IL_AssemblyBuilder_ClrSetEntryPoint(ILExecThread * _thread, 
ILObject * _this, ILNativeInt _p1, ILInt32 _p2);
- extern ILInt32 _IL_AssemblyBuilder_ClrGetItemToken(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILNativeInt _IL_AssemblyBuilder_ClrGetItemFromToken(ILExecThread * 
_thread, ILNativeInt _p1, ILInt32 _p2);
  
--- 357,384 ----
  extern ILObject * _IL_ClrMethod_GetBaseDefinition(ILExecThread * _thread, 
ILObject * _this);
  
+ extern ILObject * _IL_ClrProperty_GetPropertyType(ILExecThread * _thread, 
ILNativeInt _p1);
+ 
  extern ILInt32 _IL_ClrParameter_GetParamAttrs(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILString * _IL_ClrParameter_GetParamName(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILObject * _IL_ClrParameter_GetDefault(ILExecThread * _thread, 
ILNativeInt _p1);
  
  extern ILInt32 _IL_ClrResourceStream_ResourceRead(ILExecThread * _thread, 
ILNativeInt _p1, ILInt64 _p2, System_Array * _p3, ILInt32 _p4, ILInt32 _p5);
  extern ILInt32 _IL_ClrResourceStream_ResourceReadByte(ILExecThread * _thread, 
ILNativeInt _p1, ILInt64 _p2);
  extern ILUInt8 * _IL_ClrResourceStream_ResourceGetAddress(ILExecThread * 
_thread, ILNativeInt _p1, ILInt64 _p2);
  
! extern ILNativeInt _IL_TypeBuilder_ClrTypeCreate(ILExecThread * _thread, 
ILNativeInt _p1, ILNativeInt _p2, ILString * _p3, ILString * _p4, ILInt32 _p5, 
void * _p6);
! extern void _IL_TypeBuilder_ClrTypeSetPackingSize(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
! extern void _IL_TypeBuilder_ClrTypeSetClassSize(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
! extern void _IL_TypeBuilder_ClrTypeAddInterface(ILExecThread * _thread, 
ILNativeInt _p1, void * _p2);
! extern ILInt32 _IL_TypeBuilder_ClrTypeGetPackingSize(ILExecThread * _thread, 
ILNativeInt _p1);
! extern ILInt32 _IL_TypeBuilder_ClrTypeGetClassSize(ILExecThread * _thread, 
ILNativeInt _p1);
! extern void _IL_TypeBuilder_ClrTypeAddOverride(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3);
! extern void _IL_TypeBuilder_ClrTypeSetParent(ILExecThread * _thread, 
ILNativeInt _p1, void * _p2);
! extern ILInt32 _IL_TypeBuilder_ClrTypeImport(ILExecThread * _thread, 
ILNativeInt _p1, ILNativeInt _p2);
! extern ILInt32 _IL_TypeBuilder_ClrTypeImportMember(ILExecThread * _thread, 
ILNativeInt _p1, ILNativeInt _p2);
  
+ extern ILInt32 _IL_AssemblyBuilder_ClrGetItemToken(ILExecThread * _thread, 
ILNativeInt _p1);
  extern ILNativeInt _IL_AssemblyBuilder_ClrAssemblyCreate(ILExecThread * 
_thread, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILInt32 _p4, ILInt32 _p5, 
ILInt32 _p6, ILNativeInt * writer);
  extern void _IL_AssemblyBuilder_ClrSetEntryPoint(ILExecThread * _thread, 
ILObject * _this, ILNativeInt _p1, ILInt32 _p2);
  extern ILNativeInt _IL_AssemblyBuilder_ClrGetItemFromToken(ILExecThread * 
_thread, ILNativeInt _p1, ILInt32 _p2);
  
***************
*** 372,386 ****
  extern void _IL_EventBuilder_ClrEventAddSemantics(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, void * _p3);
  
- extern void _IL_FieldBuilder_ClrFieldSetConstant(ILExecThread * _thread, 
ILNativeInt _p1, ILObject * _p2);
  extern ILNativeInt _IL_FieldBuilder_ClrFieldCreate(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILNativeInt _p3, ILInt32 _p4);
  extern void _IL_FieldBuilder_ClrFieldSetMarshal(ILExecThread * _thread, 
ILNativeInt _p1, System_Array * _p2);
  extern void _IL_FieldBuilder_ClrFieldSetOffset(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_FieldBuilder_ClrFieldSetRVA(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
  
  extern ILNativeInt _IL_MethodBuilder_ClrMethodCreate(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILNativeInt _p4);
  extern void _IL_MethodBuilder_ClrMethodSetImplAttrs(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_MethodBuilder_ClrMethodSetRVA(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
  extern ILInt32 _IL_MethodBuilder_ClrMethodCreateVarArgRef(ILExecThread * 
_thread, ILNativeInt _p1, ILInt32 _p2, ILNativeInt _p3);
- extern void _IL_MethodBuilder_ClrMethodAddPInvoke(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILString * _p3, ILString * _p4);
  
  extern ILInt32 _IL_ModuleBuilder_ClrModuleWriteData(ILExecThread * _thread, 
ILNativeInt _p1, System_Array * _p2);
--- 386,400 ----
  extern void _IL_EventBuilder_ClrEventAddSemantics(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, void * _p3);
  
  extern ILNativeInt _IL_FieldBuilder_ClrFieldCreate(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILNativeInt _p3, ILInt32 _p4);
+ extern void _IL_FieldBuilder_ClrFieldSetRVA(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
+ extern void _IL_FieldBuilder_ClrFieldSetConstant(ILExecThread * _thread, 
ILNativeInt _p1, ILObject * _p2);
  extern void _IL_FieldBuilder_ClrFieldSetMarshal(ILExecThread * _thread, 
ILNativeInt _p1, System_Array * _p2);
  extern void _IL_FieldBuilder_ClrFieldSetOffset(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
  
+ extern void _IL_MethodBuilder_ClrMethodAddPInvoke(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILString * _p3, ILString * _p4);
+ extern void _IL_MethodBuilder_ClrMethodSetRVA(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
  extern ILNativeInt _IL_MethodBuilder_ClrMethodCreate(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILNativeInt _p4);
  extern void _IL_MethodBuilder_ClrMethodSetImplAttrs(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
  extern ILInt32 _IL_MethodBuilder_ClrMethodCreateVarArgRef(ILExecThread * 
_thread, ILNativeInt _p1, ILInt32 _p2, ILNativeInt _p3);
  
  extern ILInt32 _IL_ModuleBuilder_ClrModuleWriteData(ILExecThread * _thread, 
ILNativeInt _p1, System_Array * _p2);
***************
*** 410,424 ****
  extern System_Array * _IL_SignatureHelper_ClrSigGetBytes(ILExecThread * 
_thread, ILNativeInt _p1, ILNativeInt _p2);
  
- extern ILInt32 _IL_TypeBuilder_ClrTypeImportMember(ILExecThread * _thread, 
ILNativeInt _p1, ILNativeInt _p2);
- extern ILInt32 _IL_TypeBuilder_ClrTypeImport(ILExecThread * _thread, 
ILNativeInt _p1, ILNativeInt _p2);
- extern ILNativeInt _IL_TypeBuilder_ClrTypeCreate(ILExecThread * _thread, 
ILNativeInt _p1, ILNativeInt _p2, ILString * _p3, ILString * _p4, ILInt32 _p5, 
void * _p6);
- extern void _IL_TypeBuilder_ClrTypeSetPackingSize(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_TypeBuilder_ClrTypeSetClassSize(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_TypeBuilder_ClrTypeAddInterface(ILExecThread * _thread, 
ILNativeInt _p1, void * _p2);
- extern ILInt32 _IL_TypeBuilder_ClrTypeGetPackingSize(ILExecThread * _thread, 
ILNativeInt _p1);
- extern ILInt32 _IL_TypeBuilder_ClrTypeGetClassSize(ILExecThread * _thread, 
ILNativeInt _p1);
- extern void _IL_TypeBuilder_ClrTypeAddOverride(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3);
- extern void _IL_TypeBuilder_ClrTypeSetParent(ILExecThread * _thread, 
ILNativeInt _p1, void * _p2);
- 
  extern ILNativeInt _IL_ParameterBuilder_ClrParameterCreate(ILExecThread * 
_thread, ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3, ILString * _p4);
  extern ILInt32 _IL_ParameterBuilder_ClrParameterGetPosition(ILExecThread * 
_thread, ILNativeInt _p1);
--- 424,427 ----
***************
*** 442,526 ****
  extern ILInt32 _IL_StackFrame_InternalGetTotalFrames(ILExecThread * _thread);
  
- extern void _IL_CryptoMethods_Decrypt(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2, ILInt32 _p3, System_Array * _p4, ILInt32 _p5);
- extern void _IL_CryptoMethods_Encrypt(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2, ILInt32 _p3, System_Array * _p4, ILInt32 _p5);
- extern ILNativeInt _IL_CryptoMethods_EncryptCreate(ILExecThread * _thread, 
ILInt32 _p1, System_Array * _p2);
- extern ILNativeInt _IL_CryptoMethods_DecryptCreate(ILExecThread * _thread, 
ILInt32 _p1, System_Array * _p2);
- extern void _IL_CryptoMethods_SymmetricFree(ILExecThread * _thread, 
ILNativeInt _p1);
- extern ILBool _IL_CryptoMethods_IsSemiWeakKey(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2);
- extern ILBool _IL_CryptoMethods_IsWeakKey(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2);
- extern ILBool _IL_CryptoMethods_AlgorithmSupported(ILExecThread * _thread, 
ILInt32 _p1);
- extern void _IL_CryptoMethods_GenerateRandom(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILInt32 _p3);
- extern System_Array * _IL_CryptoMethods_GetKey(ILExecThread * _thread, 
ILInt32 _p1, ILString * _p2, ILInt32 _p3, ILInt32 * result);
- extern System_Array * _IL_CryptoMethods_NumPow(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
- extern System_Array * _IL_CryptoMethods_NumMod(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2);
- extern System_Array * _IL_CryptoMethods_NumInv(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2);
- extern System_Array * _IL_CryptoMethods_NumMul(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
- extern System_Array * _IL_CryptoMethods_NumAdd(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
- extern ILBool _IL_CryptoMethods_NumZero(ILExecThread * _thread, System_Array 
* _p1);
- extern ILBool _IL_CryptoMethods_NumEq(ILExecThread * _thread, System_Array * 
_p1, System_Array * _p2);
- extern ILNativeInt _IL_CryptoMethods_HashNew(ILExecThread * _thread, ILInt32 
_p1);
- extern void _IL_CryptoMethods_HashReset(ILExecThread * _thread, ILNativeInt 
_p1);
- extern void _IL_CryptoMethods_HashFree(ILExecThread * _thread, ILNativeInt 
_p1);
- extern void _IL_CryptoMethods_HashUpdate(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
- extern void _IL_CryptoMethods_HashFinal(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2);
- extern System_Array * _IL_CryptoMethods_NumSub(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
- extern ILBool _IL_CryptoMethods_SameKey(ILExecThread * _thread, System_Array 
* _p1, ILInt32 _p2, System_Array * _p3, ILInt32 _p4);
- extern void _IL_CryptoMethods_StoreKey(ILExecThread * _thread, ILInt32 _p1, 
ILString * _p2, System_Array * _p3);
- 
  extern ILString * _IL_DirMethods_GetSystemDirectory(ILExecThread * _thread);
  extern System_Array * _IL_DirMethods_GetLogicalDrives(ILExecThread * _thread);
  extern ILString * _IL_DirMethods_GetCurrentDirectory(ILExecThread * _thread);
- extern ILInt32 _IL_DirMethods_ChangeDirectory(ILExecThread * _thread, 
ILString * _p1);
- extern ILInt32 _IL_DirMethods_CreateDirectory(ILExecThread * _thread, 
ILString * _p1);
- extern ILInt32 _IL_DirMethods_Delete(ILExecThread * _thread, ILString * _p1);
- extern ILInt32 _IL_DirMethods_GetLastAccess(ILExecThread * _thread, ILString 
* _p1, ILInt64 * lastac);
- extern ILInt32 _IL_DirMethods_GetFilesInDirectory(ILExecThread * _thread, 
ILString * _p1, System_Array * * files);
- extern ILInt32 _IL_DirMethods_Rename(ILExecThread * _thread, ILString * _p1, 
ILString * _p2);
  extern void _IL_DirMethods_GetPathInfo(ILExecThread * _thread, void * 
_result);
  extern ILInt32 _IL_DirMethods_GetCreationTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 * create_time);
  extern ILInt32 _IL_DirMethods_GetLastModification(ILExecThread * _thread, 
ILString * _p1, ILInt64 * last_mod);
  extern ILInt32 _IL_DirMethods_Copy(ILExecThread * _thread, ILString * _p1, 
ILString * _p2);
  
- extern ILBool _IL_FileMethods_ValidatePathname(ILExecThread * _thread, 
ILString * _p1);
- extern ILString * _IL_FileMethods_GetErrnoMessage(ILExecThread * _thread, 
ILInt32 _p1);
- extern ILBool _IL_FileMethods_Exists(ILExecThread * _thread, ILString * _p1);
- extern ILInt32 _IL_FileMethods_SetCreationTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 _p2);
- extern ILInt32 _IL_FileMethods_SetLastAccessTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 _p2);
- extern ILInt32 _IL_FileMethods_SetLastWriteTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 _p2);
- extern ILInt32 _IL_FileMethods_Copy(ILExecThread * _thread, ILString * _p1, 
ILString * _p2);
- extern ILBool _IL_FileMethods_Open(ILExecThread * _thread, ILString * _p1, 
ILInt32 _p2, ILInt32 _p3, ILInt32 _p4, ILNativeInt * handle);
- extern ILInt32 _IL_FileMethods_GetErrno(ILExecThread * _thread);
- extern ILBool _IL_FileMethods_CanSeek(ILExecThread * _thread, ILNativeInt 
_p1);
- extern ILBool _IL_FileMethods_CheckHandleAccess(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
- extern ILInt64 _IL_FileMethods_Seek(ILExecThread * _thread, ILNativeInt _p1, 
ILInt64 _p2, ILInt32 _p3);
- extern ILBool _IL_FileMethods_Write(ILExecThread * _thread, ILNativeInt _p1, 
System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
- extern ILBool _IL_FileMethods_Close(ILExecThread * _thread, ILNativeInt _p1);
- extern ILBool _IL_FileMethods_FlushWrite(ILExecThread * _thread, ILNativeInt 
_p1);
- extern ILInt32 _IL_FileMethods_Read(ILExecThread * _thread, ILNativeInt _p1, 
System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
- extern ILBool _IL_FileMethods_SetLength(ILExecThread * _thread, ILNativeInt 
_p1, ILInt64 _p2);
- extern ILNativeInt _IL_FileMethods_GetInvalidHandle(ILExecThread * _thread);
- extern ILBool _IL_FileMethods_HasAsync(ILExecThread * _thread);
- 
- extern ILString * _IL_InfoMethods_GetRuntimeVersion(ILExecThread * _thread);
- extern ILString * _IL_InfoMethods_GetNetBIOSMachineName(ILExecThread * 
_thread);
- extern ILObject * _IL_InfoMethods_GetOSVersion(ILExecThread * _thread);
- extern ILString * _IL_InfoMethods_GetUserDomainName(ILExecThread * _thread);
- extern ILBool _IL_InfoMethods_IsUserInteractive(ILExecThread * _thread);
- extern ILString * _IL_InfoMethods_GetUserName(ILExecThread * _thread);
- extern ILInt64 _IL_InfoMethods_GetWorkingSet(ILExecThread * _thread);
- extern ILString * _IL_InfoMethods_GetSpecialFolder(ILExecThread * _thread, 
ILInt32 _p1);
- 
- extern ILNativeInt _IL_RegexpMethods_CompileWithSyntaxInternal(ILExecThread * 
_thread, ILString * _p1, ILInt32 _p2);
- extern void _IL_RegexpMethods_FreeInternal(ILExecThread * _thread, 
ILNativeInt _p1);
- extern ILInt32 _IL_RegexpMethods_ExecInternal(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILInt32 _p3);
- extern ILObject * _IL_RegexpMethods_MatchInternal(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILInt32 _p4, ILObject * _p5);
- extern ILNativeInt _IL_RegexpMethods_CompileInternal(ILExecThread * _thread, 
ILString * _p1, ILInt32 _p2);
- 
- extern ILBool _IL_RuntimeSecurityManager_CanUseFileHandle(ILExecThread * 
_thread, ILObject * _this, ILNativeInt _p1);
- extern ILBool _IL_RuntimeSecurityManager_CanOpenFile(ILExecThread * _thread, 
ILObject * _this, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILInt32 _p4);
- 
- extern ILObject * _IL_Security_GetSecurityManager(ILExecThread * _thread);
- extern void _IL_Security_SetSecurityManager(ILExecThread * _thread, ILObject 
* _p1);
- 
  extern void _IL_Stdio_StdClose(ILExecThread * _thread, ILInt32 _p1);
  extern ILInt32 _IL_Stdio_StdPeek(ILExecThread * _thread, ILInt32 _p1);
--- 445,462 ----
  extern ILInt32 _IL_StackFrame_InternalGetTotalFrames(ILExecThread * _thread);
  
  extern ILString * _IL_DirMethods_GetSystemDirectory(ILExecThread * _thread);
  extern System_Array * _IL_DirMethods_GetLogicalDrives(ILExecThread * _thread);
  extern ILString * _IL_DirMethods_GetCurrentDirectory(ILExecThread * _thread);
  extern void _IL_DirMethods_GetPathInfo(ILExecThread * _thread, void * 
_result);
+ extern ILInt32 _IL_DirMethods_Delete(ILExecThread * _thread, ILString * _p1);
  extern ILInt32 _IL_DirMethods_GetCreationTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 * create_time);
+ extern ILInt32 _IL_DirMethods_GetLastAccess(ILExecThread * _thread, ILString 
* _p1, ILInt64 * lastac);
  extern ILInt32 _IL_DirMethods_GetLastModification(ILExecThread * _thread, 
ILString * _p1, ILInt64 * last_mod);
+ extern ILInt32 _IL_DirMethods_ChangeDirectory(ILExecThread * _thread, 
ILString * _p1);
+ extern ILInt32 _IL_DirMethods_Rename(ILExecThread * _thread, ILString * _p1, 
ILString * _p2);
+ extern ILInt32 _IL_DirMethods_CreateDirectory(ILExecThread * _thread, 
ILString * _p1);
+ extern ILInt32 _IL_DirMethods_GetFilesInDirectory(ILExecThread * _thread, 
ILString * _p1, System_Array * * files);
  extern ILInt32 _IL_DirMethods_Copy(ILExecThread * _thread, ILString * _p1, 
ILString * _p2);
  
  extern void _IL_Stdio_StdClose(ILExecThread * _thread, ILInt32 _p1);
  extern ILInt32 _IL_Stdio_StdPeek(ILExecThread * _thread, ILInt32 _p1);
***************
*** 546,552 ****
  extern ILString * _IL_TaskMethods_GetEnvironmentValue(ILExecThread * _thread, 
ILInt32 _p1);
  
  extern ILInt64 _IL_TimeMethods_GetCurrentTime(ILExecThread * _thread);
  extern ILInt64 _IL_TimeMethods_GetCurrentUtcTime(ILExecThread * _thread);
- extern ILInt32 _IL_TimeMethods_GetTimeZoneAdjust(ILExecThread * _thread, 
ILInt64 _p1);
  extern ILInt32 _IL_TimeMethods_GetUpTime(ILExecThread * _thread);
  extern ILString * _IL_TimeMethods_GetDaylightName(ILExecThread * _thread);
--- 482,488 ----
  extern ILString * _IL_TaskMethods_GetEnvironmentValue(ILExecThread * _thread, 
ILInt32 _p1);
  
+ extern ILInt32 _IL_TimeMethods_GetTimeZoneAdjust(ILExecThread * _thread, 
ILInt64 _p1);
  extern ILInt64 _IL_TimeMethods_GetCurrentTime(ILExecThread * _thread);
  extern ILInt64 _IL_TimeMethods_GetCurrentUtcTime(ILExecThread * _thread);
  extern ILInt32 _IL_TimeMethods_GetUpTime(ILExecThread * _thread);
  extern ILString * _IL_TimeMethods_GetDaylightName(ILExecThread * _thread);
***************
*** 554,557 ****
--- 490,576 ----
  extern ILBool _IL_TimeMethods_GetDaylightRules(ILExecThread * _thread, 
ILInt32 _p1, ILInt64 * start, ILInt64 * end, ILInt64 * delta);
  
+ extern ILString * _IL_FileMethods_GetErrnoMessage(ILExecThread * _thread, 
ILInt32 _p1);
+ extern ILBool _IL_FileMethods_ValidatePathname(ILExecThread * _thread, 
ILString * _p1);
+ extern ILBool _IL_FileMethods_Open(ILExecThread * _thread, ILString * _p1, 
ILInt32 _p2, ILInt32 _p3, ILInt32 _p4, ILNativeInt * handle);
+ extern ILInt32 _IL_FileMethods_GetErrno(ILExecThread * _thread);
+ extern ILBool _IL_FileMethods_CanSeek(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern ILBool _IL_FileMethods_CheckHandleAccess(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2);
+ extern ILInt64 _IL_FileMethods_Seek(ILExecThread * _thread, ILNativeInt _p1, 
ILInt64 _p2, ILInt32 _p3);
+ extern ILBool _IL_FileMethods_Close(ILExecThread * _thread, ILNativeInt _p1);
+ extern ILBool _IL_FileMethods_Write(ILExecThread * _thread, ILNativeInt _p1, 
System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
+ extern ILBool _IL_FileMethods_FlushWrite(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern ILInt32 _IL_FileMethods_Read(ILExecThread * _thread, ILNativeInt _p1, 
System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
+ extern ILBool _IL_FileMethods_SetLength(ILExecThread * _thread, ILNativeInt 
_p1, ILInt64 _p2);
+ extern ILNativeInt _IL_FileMethods_GetInvalidHandle(ILExecThread * _thread);
+ extern ILInt32 _IL_FileMethods_GetFileType(ILExecThread * _thread, ILString * 
_p1);
+ extern ILInt32 _IL_FileMethods_SetCreationTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 _p2);
+ extern ILInt32 _IL_FileMethods_SetLastAccessTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 _p2);
+ extern ILInt32 _IL_FileMethods_SetLastWriteTime(ILExecThread * _thread, 
ILString * _p1, ILInt64 _p2);
+ extern ILInt32 _IL_FileMethods_GetAttributes(ILExecThread * _thread, ILString 
* _p1, ILInt32 * attrs);
+ extern ILInt32 _IL_FileMethods_SetAttributes(ILExecThread * _thread, ILString 
* _p1, ILInt32 _p2);
+ extern ILInt32 _IL_FileMethods_GetLength(ILExecThread * _thread, ILString * 
_p1, ILInt64 * length);
+ extern ILBool _IL_FileMethods_HasAsync(ILExecThread * _thread);
+ extern ILInt32 _IL_FileMethods_Copy(ILExecThread * _thread, ILString * _p1, 
ILString * _p2);
+ 
+ extern ILBool _IL_RuntimeSecurityManager_CanUseFileHandle(ILExecThread * 
_thread, ILObject * _this, ILNativeInt _p1);
+ extern ILBool _IL_RuntimeSecurityManager_CanOpenFile(ILExecThread * _thread, 
ILObject * _this, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILInt32 _p4);
+ 
+ extern ILObject * _IL_Security_GetSecurityManager(ILExecThread * _thread);
+ extern void _IL_Security_SetSecurityManager(ILExecThread * _thread, ILObject 
* _p1);
+ 
+ extern ILString * _IL_InfoMethods_GetRuntimeVersion(ILExecThread * _thread);
+ extern ILString * _IL_InfoMethods_GetNetBIOSMachineName(ILExecThread * 
_thread);
+ extern ILObject * _IL_InfoMethods_GetOSVersion(ILExecThread * _thread);
+ extern ILString * _IL_InfoMethods_GetUserDomainName(ILExecThread * _thread);
+ extern ILBool _IL_InfoMethods_IsUserInteractive(ILExecThread * _thread);
+ extern ILString * _IL_InfoMethods_GetUserName(ILExecThread * _thread);
+ extern ILInt64 _IL_InfoMethods_GetWorkingSet(ILExecThread * _thread);
+ extern ILString * _IL_InfoMethods_GetSpecialFolder(ILExecThread * _thread, 
ILInt32 _p1);
+ 
+ extern ILNativeInt _IL_RegexpMethods_CompileWithSyntaxInternal(ILExecThread * 
_thread, ILString * _p1, ILInt32 _p2);
+ extern void _IL_RegexpMethods_FreeInternal(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern ILInt32 _IL_RegexpMethods_ExecInternal(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILInt32 _p3);
+ extern ILObject * _IL_RegexpMethods_MatchInternal(ILExecThread * _thread, 
ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILInt32 _p4, ILObject * _p5);
+ extern ILNativeInt _IL_RegexpMethods_CompileInternal(ILExecThread * _thread, 
ILString * _p1, ILInt32 _p2);
+ 
+ extern ILBool _IL_CryptoMethods_IsSemiWeakKey(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2);
+ extern ILBool _IL_CryptoMethods_IsWeakKey(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2);
+ extern ILNativeInt _IL_CryptoMethods_EncryptCreate(ILExecThread * _thread, 
ILInt32 _p1, System_Array * _p2);
+ extern ILNativeInt _IL_CryptoMethods_DecryptCreate(ILExecThread * _thread, 
ILInt32 _p1, System_Array * _p2);
+ extern void _IL_CryptoMethods_SymmetricFree(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern ILNativeInt _IL_CryptoMethods_HashNew(ILExecThread * _thread, ILInt32 
_p1);
+ extern void _IL_CryptoMethods_HashReset(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern void _IL_CryptoMethods_HashFree(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern void _IL_CryptoMethods_HashUpdate(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
+ extern void _IL_CryptoMethods_HashFinal(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2);
+ extern ILBool _IL_CryptoMethods_AlgorithmSupported(ILExecThread * _thread, 
ILInt32 _p1);
+ extern void _IL_CryptoMethods_GenerateRandom(ILExecThread * _thread, 
System_Array * _p1, ILInt32 _p2, ILInt32 _p3);
+ extern ILBool _IL_CryptoMethods_SameKey(ILExecThread * _thread, System_Array 
* _p1, ILInt32 _p2, System_Array * _p3, ILInt32 _p4);
+ extern System_Array * _IL_CryptoMethods_GetKey(ILExecThread * _thread, 
ILInt32 _p1, ILString * _p2, ILInt32 _p3, ILInt32 * result);
+ extern System_Array * _IL_CryptoMethods_NumPow(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
+ extern System_Array * _IL_CryptoMethods_NumMod(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2);
+ extern System_Array * _IL_CryptoMethods_NumInv(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2);
+ extern System_Array * _IL_CryptoMethods_NumMul(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
+ extern System_Array * _IL_CryptoMethods_NumAdd(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
+ extern ILBool _IL_CryptoMethods_NumZero(ILExecThread * _thread, System_Array 
* _p1);
+ extern ILBool _IL_CryptoMethods_NumEq(ILExecThread * _thread, System_Array * 
_p1, System_Array * _p2);
+ extern System_Array * _IL_CryptoMethods_NumSub(ILExecThread * _thread, 
System_Array * _p1, System_Array * _p2, System_Array * _p3);
+ extern void _IL_CryptoMethods_Decrypt(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2, ILInt32 _p3, System_Array * _p4, ILInt32 _p5);
+ extern void _IL_CryptoMethods_Encrypt(ILExecThread * _thread, ILNativeInt 
_p1, System_Array * _p2, ILInt32 _p3, System_Array * _p4, ILInt32 _p5);
+ extern void _IL_CryptoMethods_StoreKey(ILExecThread * _thread, ILInt32 _p1, 
ILString * _p2, System_Array * _p3);
+ 
+ extern ILInt32 _IL_Process_GetHandleCount(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern ILNativeInt _IL_Process_GetMainWindowHandle(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern ILString * _IL_Process_GetMainWindowTitle(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern ILInt32 _IL_Process_GetProcessorAffinity(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern ILBool _IL_Process_MainWindowIsResponding(ILExecThread * _thread, 
ILNativeInt _p1);
+ extern void _IL_Process_CloseProcess(ILExecThread * _thread, ILNativeInt _p1, 
ILInt32 _p2);
+ extern ILBool _IL_Process_CloseMainWindow(ILExecThread * _thread, ILNativeInt 
_p1);
+ extern void _IL_Process_GetCurrentProcessInfo(ILExecThread * _thread, ILInt32 
* processID, ILNativeInt * handle);
+ extern void _IL_Process_KillProcess(ILExecThread * _thread, ILNativeInt _p1, 
ILInt32 _p2);
+ extern ILBool _IL_Process_StartProcess(ILExecThread * _thread, ILString * 
_p1, ILString * _p2, System_Array * _p3, ILInt32 _p4, ILInt32 _p5, System_Array 
* _p6, ILString * _p7, ILNativeInt _p8, ILNativeInt * processHandle, ILInt32 * 
processID, ILNativeInt * stdinHandle, ILNativeInt * stdoutHandle, ILNativeInt * 
stderrHandle);
+ extern ILBool _IL_Process_WaitForExit(ILExecThread * _thread, ILNativeInt 
_p1, ILInt32 _p2, ILInt32 _p3, ILInt32 * exitCode);
+ extern ILBool _IL_Process_WaitForInputIdle(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3);
+ 
  extern ILNativeInt _IL_SocketMethods_GetInvalidHandle(ILExecThread * _thread);
  extern ILBool _IL_SocketMethods_Create(ILExecThread * _thread, ILInt32 _p1, 
ILInt32 _p2, ILInt32 _p3, ILNativeInt * handle);
***************
*** 583,589 ****
  extern void _IL_SocketMethods_WaitHandleSet(ILExecThread * _thread, ILObject 
* _p1);
  
- extern ILBool _IL_Dns_InternalGetHostByName(ILExecThread * _thread, ILString 
* _p1, ILString * * h_name, System_Array * * h_aliases, System_Array * * 
h_addr_list);
- extern ILBool _IL_Dns_InternalGetHostByAddr(ILExecThread * _thread, ILInt64 
_p1, ILString * * h_name, System_Array * * h_aliases, System_Array * * 
h_addr_list);
- 
  extern ILInt32 _IL_IPAddress_HostToNetworkOrder_i(ILExecThread * _thread, 
ILInt32 _p1);
  extern ILInt64 _IL_IPAddress_HostToNetworkOrder_l(ILExecThread * _thread, 
ILInt64 _p1);
--- 602,605 ----
***************
*** 593,607 ****
  extern ILInt16 _IL_IPAddress_NetworkToHostOrder_s(ILExecThread * _thread, 
ILInt16 _p1);
  
! extern ILInt32 _IL_Process_GetHandleCount(ILExecThread * _thread, ILNativeInt 
_p1);
! extern ILNativeInt _IL_Process_GetMainWindowHandle(ILExecThread * _thread, 
ILNativeInt _p1);
! extern ILString * _IL_Process_GetMainWindowTitle(ILExecThread * _thread, 
ILNativeInt _p1);
! extern ILInt32 _IL_Process_GetProcessorAffinity(ILExecThread * _thread, 
ILNativeInt _p1);
! extern ILBool _IL_Process_MainWindowIsResponding(ILExecThread * _thread, 
ILNativeInt _p1);
! extern void _IL_Process_CloseProcess(ILExecThread * _thread, ILNativeInt _p1, 
ILInt32 _p2);
! extern ILBool _IL_Process_CloseMainWindow(ILExecThread * _thread, ILNativeInt 
_p1);
! extern void _IL_Process_GetCurrentProcessInfo(ILExecThread * _thread, ILInt32 
* processID, ILNativeInt * handle);
! extern void _IL_Process_KillProcess(ILExecThread * _thread, ILNativeInt _p1, 
ILInt32 _p2);
! extern ILBool _IL_Process_StartProcess(ILExecThread * _thread, ILString * 
_p1, ILString * _p2, System_Array * _p3, ILInt32 _p4, ILInt32 _p5, System_Array 
* _p6, ILString * _p7, ILNativeInt _p8, ILNativeInt * processHandle, ILInt32 * 
processID, ILNativeInt * stdinHandle, ILNativeInt * stdoutHandle, ILNativeInt * 
stderrHandle);
! extern ILBool _IL_Process_WaitForExit(ILExecThread * _thread, ILNativeInt 
_p1, ILInt32 _p2, ILInt32 _p3, ILInt32 * exitCode);
! extern ILBool _IL_Process_WaitForInputIdle(ILExecThread * _thread, 
ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3);
  
--- 609,613 ----
  extern ILInt16 _IL_IPAddress_NetworkToHostOrder_s(ILExecThread * _thread, 
ILInt16 _p1);
  
! extern ILBool _IL_Dns_InternalGetHostByName(ILExecThread * _thread, ILString 
* _p1, ILString * * h_name, System_Array * * h_aliases, System_Array * * 
h_addr_list);
! extern ILBool _IL_Dns_InternalGetHostByAddr(ILExecThread * _thread, ILInt64 
_p1, ILString * * h_name, System_Array * * h_aliases, System_Array * * 
h_addr_list);
  

Index: int_table.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_table.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -r1.61 -r1.62
*** int_table.c 19 Apr 2003 04:05:17 -0000      1.61
--- int_table.c 24 Apr 2003 06:00:43 -0000      1.62
***************
*** 254,334 ****
  #if !defined(HAVE_LIBFFI)
  
- static void marshal_bp(void (*fn)(), void *rvalue, void **avalue)
- {
-       *((ILNativeInt *)rvalue) = (*(ILInt8 (*)(void *))fn)(*((void * 
*)(avalue[0])));
- }
- 
- #endif
- 
- #if !defined(HAVE_LIBFFI)
[...2196 lines suppressed...]
!       IL_METHOD("WaitForInputIdle", "(jii)Z", _IL_Process_WaitForInputIdle, 
marshal_bpjii)
  IL_METHOD_END
  
--- 2786,2801 ----
  #if !defined(HAVE_LIBFFI)
  
! static void marshal_bplppp(void (*fn)(), void *rvalue, void **avalue)
  {
!       *((ILNativeInt *)rvalue) = (*(ILInt8 (*)(void *, ILInt64, void *, void 
*, void *))fn)(*((void * *)(avalue[0])), *((ILInt64 *)(avalue[1])), *((void * 
*)(avalue[2])), *((void * *)(avalue[3])), *((void * *)(avalue[4])));
  }
  
  #endif
  
! #ifndef _IL_Dns_suppressed
  
! IL_METHOD_BEGIN(Dns_Methods)
!       IL_METHOD("InternalGetHostByName", 
"(oSystem.String;&oSystem.String;&[oSystem.String;&[l)Z", 
_IL_Dns_InternalGetHostByName, marshal_bppppp)
!       IL_METHOD("InternalGetHostByAddr", 
"(l&oSystem.String;&[oSystem.String;&[l)Z", _IL_Dns_InternalGetHostByAddr, 
marshal_bplppp)
  IL_METHOD_END
  

Index: lib_file.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_file.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** lib_file.c  9 Jan 2003 00:18:40 -0000       1.8
--- lib_file.c  24 Apr 2003 06:00:43 -0000      1.9
***************
*** 52,63 ****
  
  /*
!  * public static bool Exists(String path);
   */
! ILBool _IL_FileMethods_Exists(ILExecThread * _thread, ILString * path)
  {
        const char *cpath = ILStringToAnsi(_thread,path);
        if(cpath)
        {
!               return ILFileExists(cpath,(char**)0);
        }
        else
--- 52,63 ----
  
  /*
!  * public static FileType GetFileType(String path);
   */
! ILInt32 _IL_FileMethods_GetFileType(ILExecThread * _thread, ILString * path)
  {
        const char *cpath = ILStringToAnsi(_thread,path);
        if(cpath)
        {
!               return ILGetFileType(cpath);
        }
        else
***************
*** 256,258 ****
--- 256,288 ----
  
        return ILSysIOSetCreationTime(path_ansi, ticks);
+ }
+ 
+ /*
+  * public static Errno GetAttributes(String path, out int attrs);
+  */
+ ILInt32 _IL_FileMethods_GetAttributes(ILExecThread *_thread,
+                                                                         
ILString *path, ILInt32 *attrs)
+ {
+       /* TODO */
+       return IL_ERRNO_EPERM;
+ }
+ 
+ /*
+  * public static Errno SetAttributes(String path, int attrs);
+  */
+ ILInt32 _IL_FileMethods_SetAttributes(ILExecThread *_thread,
+                                                                         
ILString *path, ILInt32 attrs)
+ {
+       /* TODO */
+       return IL_ERRNO_EPERM;
+ }
+ 
+ /*
+  * public static Errno GetLength(String path, out long length);
+  */
+ ILInt32 _IL_FileMethods_GetLength(ILExecThread *_thread,
+                                                                 ILString 
*path, ILInt64 *length)
+ {
+       /* TODO */
+       return IL_ERRNO_EPERM;
  }

Index: lib_helpers.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_helpers.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** lib_helpers.c       14 Jun 2002 05:58:48 -0000      1.8
--- lib_helpers.c       24 Apr 2003 06:00:43 -0000      1.9
***************
*** 308,311 ****
--- 308,343 ----
  }
  
+ /*
+  * public static bool Equals(Object o1, Object o2);
+  */
+ ILBool _IL_RuntimeHelpers_Equals(ILExecThread *_thread,
+                                                                ILObject *o1, 
ILObject *o2)
+ {
+       if(o1 == o2)
+       {
+               return 1;
+       }
+       else if(!o1 || !o2)
+       {
+               return 0;
+       }
+       else
+       {
+               return _IL_Object_Equals(_thread, o1, o2);
+       }
+ }
+ 
+ ILInt32 _IL_RuntimeHelpers_GetHashCode(ILExecThread *_thread, ILObject *o1)
+ {
+       if(!o1)
+       {
+               return 0;
+       }
+       else
+       {
+               return _IL_Object_GetHashCode(_thread, o1);
+       }
+ }
+ 
  #ifdef        __cplusplus
  };

Index: lib_object.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_object.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** lib_object.c        7 Apr 2003 01:29:43 -0000       1.10
--- lib_object.c        24 Apr 2003 06:00:43 -0000      1.11
***************
*** 60,64 ****
  ILBool _IL_Object_Equals(ILExecThread *thread, ILObject *_this, ILObject *obj)
  {
!       return (_this == obj);
  }
  
--- 60,93 ----
  ILBool _IL_Object_Equals(ILExecThread *thread, ILObject *_this, ILObject *obj)
  {
!       ILClass *classInfo;
!       ILUInt32 size;
! 
!       /* Handle the easy cases first */
!       if(_this == obj)
!       {
!               return 1;
!       }
!       else if(!obj)
!       {
!               return 0;
!       }
! 
!       /* Check to see if both are value types with the same type */
!       classInfo = GetObjectClass(_this);
!       if(classInfo != GetObjectClass(obj) || !ILClassIsValueType(classInfo))
!       {
!               return 0;
!       }
! 
!       /* Perform a bitwise comparison on the values */
!       size = ILSizeOfType(thread, ILClassToType(classInfo));
!       if(!size)
!       {
!               return 1;
!       }
!       else
!       {
!               return !ILMemCmp((void *)_this, (void *)obj, size);
!       }
  }
  

Index: lib_thread.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_thread.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** lib_thread.c        1 Apr 2003 22:30:07 -0000       1.9
--- lib_thread.c        24 Apr 2003 06:00:43 -0000      1.10
***************
*** 684,687 ****
--- 684,696 ----
  
  /*
+  * internal static int InternalGetThreadId();
+  */
+ ILInt32 _IL_Thread_InternalGetThreadId(ILExecThread *_thread)
+ {
+       /* TODO */
+       return 0;
+ }
+ 
+ /*
   * private static void InternalClose(IntPtr privateData);
   */





reply via email to

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