diff options
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)\
|
