30 #include <type_traits> 159 return existed_already;
#define lua_isnoneornil(L, n)
LUA_API void lua_pushlightuserdata(lua_State *L, void *p)
LUALIB_API void * luaL_checkudata(lua_State *L, int ud, const char *tname)
LUA_API void lua_createtable(lua_State *L, int narray, int nrec)
#define lua_pushcfunction(L, f)
LUA_API void lua_rawseti(lua_State *L, int idx, lua_Integer n)
Tmust inherit enable_lua_ptr<T>
#define lua_remove(L, idx)
LUA_API int lua_rawget(lua_State *L, int idx)
LUALIB_API void luaL_setmetatable(lua_State *L, const char *tname)
void lua_push(lua_State *L, const T &val)
LUA_API int lua_absindex(lua_State *L, int idx)
LUALIB_API int luaL_argerror(lua_State *L, int arg, const char *extramsg)
LUALIB_API void * luaL_testudata(lua_State *L, int ud, const char *tname)
LUA_API void lua_pushnil(lua_State *L)
LUALIB_API int luaL_newmetatable(lua_State *L, const char *tname)
LUA_API void lua_rawset(lua_State *L, int idx)
#define lua_isfunction(L, n)
LUA_API void lua_rotate(lua_State *L, int idx, int n)
LUA_API void lua_pushvalue(lua_State *L, int idx)
std::size_t index(const std::string &str, const std::size_t index)
Codepoint index corresponding to the nth character in a UTF-8 string.
#define lua_call(L, n, r)
#define LUA_REGISTRYINDEX
Standard logging facilities (interface).
boost::string_view string_view
static map_location::DIRECTION n
base class of top level items, the only item which needs to store the final canvases to draw on...
LUA_API const char * lua_pushstring(lua_State *L, const char *s)
LUA_API void lua_setfield(lua_State *L, int idx, const char *k)