| 749 | }; |
| 750 | |
| 751 | void ScriptSoundRegister(const ScriptLibContext& context) |
| 752 | { |
| 753 | lua_State* L = context.m_LuaState; |
| 754 | int top = lua_gettop(L); |
| 755 | (void)top; |
| 756 | luaL_register(L, "sound", SOUND_FUNCTIONS); |
| 757 | lua_pop(L, 1); |
| 758 | assert(top == lua_gettop(L)); |
| 759 | } |
| 760 | |
| 761 | void ScriptSoundOnWindowFocus(bool focus) |
| 762 | { |
no test coverage detected