| 1303 | ************************/ |
| 1304 | |
| 1305 | static void OpenModule(lua_State *state, const char *mname, |
| 1306 | const LuaWrapper::FunctionReg *reg, const luaL_Reg *reg2 = NULL) |
| 1307 | { |
| 1308 | luaL_getsubtable(state, lua_gettop(state), mname); |
| 1309 | LuaWrapper::SetFunctionWrappers(state, reg); |
| 1310 | if (reg2) |
| 1311 | luaL_setfuncs(state, reg2, 0); |
| 1312 | lua_pop(state, 1); |
| 1313 | } |
| 1314 | |
| 1315 | static void OpenModule(lua_State *state, const char *mname, const luaL_Reg *reg2) |
| 1316 | { |
no test coverage detected