| 438 | } |
| 439 | |
| 440 | static void TimerNewScriptWorld(HScriptWorld script_world) |
| 441 | { |
| 442 | assert(script_world != 0x0); |
| 443 | HContext context = GetScriptWorldContext(script_world); |
| 444 | assert(context != 0x0); |
| 445 | lua_State* L = context->m_LuaState; |
| 446 | assert(L != 0x0); |
| 447 | DM_LUA_STACK_CHECK(L, 0); |
| 448 | |
| 449 | HTimerWorld timer_world = NewTimerWorld(); |
| 450 | lua_pushinteger(L, (lua_Integer)TIMER_WORLD_VALUE_KEY_HASH); |
| 451 | lua_pushlightuserdata(L, timer_world); |
| 452 | SetScriptWorldContextValue(script_world); |
| 453 | } |
| 454 | |
| 455 | static void TimerDeleteScriptWorld(HScriptWorld script_world) |
| 456 | { |
nothing calls this directly
no test coverage detected