| 796 | } |
| 797 | |
| 798 | LUA_API void xlua_push_csharp_wrapper(lua_State* L, int wrapperid) |
| 799 | { |
| 800 | lua_pushinteger(L, wrapperid); |
| 801 | lua_pushboolean(L, 0); |
| 802 | lua_pushcclosure(L, csharp_function_wrapper_wrapper, 2); |
| 803 | } |
| 804 | |
| 805 | LUALIB_API int xlua_upvalueindex(int n) { |
| 806 | return lua_upvalueindex(2 + n); |
nothing calls this directly
no test coverage detected