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
commitd6c5e8386e101a91ae6091763d00be8ebed01fb6 (patch)
tree758da16000ef2d8450c261c1c95c9b347de59a54 /src/lua.h
parent1dc5be8e8ae8a157879de60e0f877a04faed3190 (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)\