Пример #1
0
 //[MethodImplAttribute(MethodImplOptions.InternalCall)]
 internal static void handlerGiveFnptrsToDll(IntPtr engineFunctionsFromEngine, GlobalVariables *globalVariables)
 {
                 #if DEBUG
     Console.WriteLine(" -- MONO: handlerGiveFnptrsToDll");
                 #endif
     engineFunctions = (EngineFunctions)Marshal.PtrToStructure(engineFunctionsFromEngine, typeof(EngineFunctions));
     MetaModEngine.globalVariables = globalVariables;
 }
Пример #2
0
		//[MethodImplAttribute(MethodImplOptions.InternalCall)]
		internal static void handlerGiveFnptrsToDll(IntPtr engineFunctionsFromEngine, GlobalVariables* globalVariables)
		{
			#if DEBUG
			Console.WriteLine(" -- MONO: handlerGiveFnptrsToDll");
			#endif
			engineFunctions = (EngineFunctions)Marshal.PtrToStructure(engineFunctionsFromEngine, typeof(EngineFunctions));
			MetaModEngine.globalVariables = globalVariables;
		}