mirror of
https://github.com/whoahq/whoa.git
synced 2026-10-30 19:37:04 +03:00
Compare commits
1
Commits
8ed1fee9e1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6923b07f6c |
@@ -120,7 +120,13 @@ int32_t Script_GetDebugStats(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_IsDebugBuild(lua_State* L) {
|
int32_t Script_IsDebugBuild(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
#if defined(NDEBUG)
|
||||||
|
lua_pushboolean(L, 0);
|
||||||
|
#else
|
||||||
|
lua_pushboolean(L, 1);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_RegisterCVar(lua_State* L) {
|
int32_t Script_RegisterCVar(lua_State* L) {
|
||||||
|
|||||||
Reference in new issue
Block a user