Fix compilation error
This commit is contained in:
parent
32ec0199d8
commit
a1d4e7f025
|
@ -28,7 +28,6 @@
|
||||||
#define LUA_STACK_CHECK_BEGIN() int __LUA_STACK_TOP = lua_gettop(gLuaState)
|
#define LUA_STACK_CHECK_BEGIN() int __LUA_STACK_TOP = lua_gettop(gLuaState)
|
||||||
#define LUA_STACK_CHECK_END() if ((__LUA_STACK_TOP) != lua_gettop(gLuaState)) { smlua_dump_stack(); fflush(stdout); } assert((__LUA_STACK_TOP) == lua_gettop(gLuaState))
|
#define LUA_STACK_CHECK_END() if ((__LUA_STACK_TOP) != lua_gettop(gLuaState)) { smlua_dump_stack(); fflush(stdout); } assert((__LUA_STACK_TOP) == lua_gettop(gLuaState))
|
||||||
#else
|
#else
|
||||||
#define LOG_LUA_LINE_WARNING(...) { snprintf(gDjuiConsoleTmpBuffer, CONSOLE_MAX_TMP_BUFFER, __VA_ARGS__), sys_swap_backslashes(gDjuiConsoleTmpBuffer), djui_console_message_create(gDjuiConsoleTmpBuffer, CONSOLE_MESSAGE_WARNING); }
|
|
||||||
#define LUA_STACK_CHECK_BEGIN()
|
#define LUA_STACK_CHECK_BEGIN()
|
||||||
#define LUA_STACK_CHECK_END()
|
#define LUA_STACK_CHECK_END()
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue