public static bool lua_checkstack(IntPtr luaState, int extra) { return(LuaWrapperNativeMethods.lua_checkstack(luaState, extra) > 0); }
public static void lua_pushlstring(IntPtr luaState, byte[] str, int size) { LuaWrapperNativeMethods.luaS_pushlstring(luaState, str, size); }
public static bool luaL_getmetafield(IntPtr luaState, int stackPos, string field) { return(LuaWrapperNativeMethods.luaL_getmetafield(luaState, stackPos, field) > 0); }
public static void lua_pushboolean(IntPtr luaState, bool value) { LuaWrapperNativeMethods.lua_pushboolean(luaState, value ? 1 : 0); }
public static bool lua_toboolean(IntPtr luaState, int index) { return(LuaWrapperNativeMethods.lua_toboolean(luaState, index) > 0); }
public static bool lua_isstring(IntPtr luaState, int index) { return(LuaWrapperNativeMethods.lua_isstring(luaState, index) > 0); }
public static int luaL_loadbuffer(IntPtr luaState, byte[] buff, int size, string name) { return(LuaWrapperNativeMethods.luaLS_loadbuffer(luaState, buff, size, name)); }
public static int lua_rawlen(IntPtr luaState, int stackPos) { return(LuaWrapperNativeMethods.luaS_objlen(luaState, stackPos)); }