| 207 | } |
| 208 | |
| 209 | static int ScriptIsValid(lua_State* L) |
| 210 | { |
| 211 | Script* script = (Script*)lua_touserdata(L, 1); |
| 212 | lua_pushboolean(L, script != 0x0 && script->m_LuaModule != 0x0); |
| 213 | return 1; |
| 214 | } |
| 215 | |
| 216 | static const luaL_reg Script_methods[] = |
| 217 | { |
nothing calls this directly
no test coverage detected