In process of converting LuaSnap to use eris, not finished

This commit is contained in:
2021-03-01 17:29:32 -05:00
parent b9ff7d176d
commit c68ff8fdf0
5 changed files with 87 additions and 155 deletions

View File

@@ -369,6 +369,7 @@ public:
bool isfunction(LuaSlot s) const { return lua_type(L_, s) == LUA_TFUNCTION; }
bool isboolean(LuaSlot s) const { return lua_type(L_, s) == LUA_TBOOLEAN; }
bool isnil(LuaSlot s) const { return lua_type(L_, s) == LUA_TNIL; }
bool iscfunction(LuaSlot s) const { return lua_iscfunction(L_, s) != 0; }
void checktable(LuaSlot index) const { checktype(index, LUA_TTABLE); }
void checkstring(LuaSlot index) const { checktype(index, LUA_TSTRING); }