(RealStatePtr L)
| 101 | } |
| 102 | |
| 103 | [MonoPInvokeCallback(typeof(LuaCSFunction))] |
| 104 | static int FixCSFunction(RealStatePtr L) |
| 105 | { |
| 106 | try |
| 107 | { |
| 108 | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| 109 | int idx = LuaAPI.xlua_tointeger(L, LuaAPI.xlua_upvalueindex(1)); |
| 110 | LuaCSFunction func = (LuaCSFunction)translator.GetFixCSFunction(idx); |
| 111 | return func(L); |
| 112 | } |
| 113 | catch (Exception e) |
| 114 | { |
| 115 | return LuaAPI.luaL_error(L, "c# exception in FixCSFunction:" + e); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | #if GEN_CODE_MINIMIZE |
| 120 | [MonoPInvokeCallback(typeof(LuaDLL.CSharpWrapperCaller))] |
nothing calls this directly
no test coverage detected