mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-05 06:09:55 +03:00
Compare commits
2
Commits
caf009cd28
...
3c782718dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c782718dd | ||
|
|
b0827f5ce1 |
@@ -120,7 +120,12 @@ int32_t Script_GetDebugStats(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_IsDebugBuild(lua_State* L) {
|
int32_t Script_IsDebugBuild(lua_State* L) {
|
||||||
|
#if defined(NDEBUG)
|
||||||
lua_pushboolean(L, 0);
|
lua_pushboolean(L, 0);
|
||||||
|
#else
|
||||||
|
lua_pushboolean(L, 1);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user