diff options
| author | ame <[email protected]> | 2024-02-21 10:41:42 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2024-02-21 10:41:42 -0600 |
| commit | d6c5e8386e101a91ae6091763d00be8ebed01fb6 (patch) | |
| tree | 758da16000ef2d8450c261c1c95c9b347de59a54 /src/lua.h | |
| parent | 1dc5be8e8ae8a157879de60e0f877a04faed3190 (diff) | |
fixed reading and some file stuff
Diffstat (limited to 'src/lua.h')
| -rw-r--r-- | src/lua.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)\
|
