//[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; }
//[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; }