aboutsummaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-02-21 10:41:42 -0600
committerame <[email protected]>2024-02-21 10:41:42 -0600
commit2715243f86a4afe8e7e1f512899e96e5f9a8bf2a (patch)
tree758da16000ef2d8450c261c1c95c9b347de59a54 /src/lua.h
parentcfbd9fed6d46f27ff2802c86b03b39c386636188 (diff)
fixed reading and some file stuff
Diffstat (limited to 'src/lua.h')
-rw-r--r--src/lua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua.h b/src/lua.h
index 30eefb4..031bfc6 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -18,6 +18,8 @@ void i_dcopy(lua_State* src, lua_State* dest, void*);
//some macros to make batch adding easier (may switch to arrays for this later)
#define luaI_tseti(L, Tidx, K, V)\
_tset_b(L, Tidx, K, V, lua_pushinteger)
+#define luaI_tsetb(L, Tidx, K, V)\
+ _tset_b(L, Tidx, K, V, lua_pushboolean)
#define luaI_tsets(L, Tidx, K, V)\
_tset_b(L, Tidx, K, V, lua_pushstring)
#define luaI_tsetv(L, Tidx, K, V)\