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 | 2715243f86a4afe8e7e1f512899e96e5f9a8bf2a (patch) | |
| tree | 758da16000ef2d8450c261c1c95c9b347de59a54 /src/lua.h | |
| parent | cfbd9fed6d46f27ff2802c86b03b39c386636188 (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)\
|
