(RealStatePtr L, LuaCSFunction func)
| 1383 | } |
| 1384 | |
| 1385 | internal void PushFixCSFunction(RealStatePtr L, LuaCSFunction func) |
| 1386 | { |
| 1387 | if (func == null) |
| 1388 | { |
| 1389 | LuaAPI.lua_pushnil(L); |
| 1390 | } |
| 1391 | else |
| 1392 | { |
| 1393 | LuaAPI.xlua_pushinteger(L, fix_cs_functions.Count); |
| 1394 | fix_cs_functions.Add(func); |
| 1395 | LuaAPI.lua_pushstdcallcfunction(L, metaFunctions.FixCSFunctionWraper, 1); |
| 1396 | } |
| 1397 | } |
| 1398 | |
| 1399 | #if GEN_CODE_MINIMIZE |
| 1400 | CSharpWrapper[] csharpWrapper = new CSharpWrapper[0]; |
no test coverage detected