| 78 | } |
| 79 | |
| 80 | int Script::Panic(lua_State *pState) { |
| 81 | SCRIPT_BEGIN(pState) |
| 82 | SCRIPT_FATAL(ToPrint(pState,LOG_BUFFER)); |
| 83 | SCRIPT_END |
| 84 | return 0; |
| 85 | } |
| 86 | |
| 87 | lua_State* Script::CreateState() { |
| 88 | lua_State* pState = luaL_newstate(); |
nothing calls this directly
no outgoing calls
no test coverage detected