Home
last modified time | relevance | path

Searched refs:LUA_TNIL (Results 1 – 11 of 11) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlobject.h170 #define LUA_VNIL makevariant(LUA_TNIL, 0)
173 #define LUA_VEMPTY makevariant(LUA_TNIL, 1)
176 #define LUA_VABSTKEY makevariant(LUA_TNIL, 2)
180 #define ttisnil(v) checktype((v), LUA_TNIL)
743 #define keyisnil(node) (keytt(node) == LUA_TNIL)
749 #define setnilkey(node) (keytt(node) = LUA_TNIL)
A Dlbaselib.c140 luaL_argexpected(L, t == LUA_TNIL || t == LUA_TTABLE, 2, "nil or table"); in luaB_setmetatable()
141 if (l_unlikely(luaL_getmetafield(L, 1, "__metatable") != LUA_TNIL)) in luaB_setmetatable()
266 if (luaL_getmetafield(L, 1, "__pairs") == LUA_TNIL) { /* no metamethod? */ in luaB_pairs()
285 return (lua_geti(L, 1, i) == LUA_TNIL) ? 1 : 2; in ipairsaux()
A Dlauxlib.c312 if (luaL_getmetatable(L, tname) != LUA_TNIL) /* name already in use? */ in luaL_newmetatable()
667 if (lua_rawgeti(L, t, freelist) == LUA_TNIL) { /* first access? */ in luaL_ref()
847 return LUA_TNIL; in luaL_getmetafield()
852 if (tt == LUA_TNIL) /* is metafield nil? */ in luaL_getmetafield()
863 if (luaL_getmetafield(L, obj, event) == LUA_TNIL) /* no metafield? */ in luaL_callmeta()
903 case LUA_TNIL: in luaL_tolstring()
911 if (tt != LUA_TNIL) in luaL_tolstring()
A Dloadlib.c613 if (lua_getfield(L, -1, name) == LUA_TNIL) { /* not found? */ in searcher_preload()
635 if (l_unlikely(lua_rawgeti(L, 3, i) == LUA_TNIL)) { /* no more searchers? */ in findloader()
677 if (lua_getfield(L, 2, name) == LUA_TNIL) { /* module set no value? */ in ll_require()
A Dloslib.c245 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield()
256 if (l_unlikely(t != LUA_TNIL)) /* some other value? */ in getfield()
A Dlua.h65 #define LUA_TNIL 0 macro
376 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
A Dltablib.c38 return (lua_rawget(L, -n) != LUA_TNIL); in checkfield()
A Dldblib.c58 luaL_argexpected(L, t == LUA_TNIL || t == LUA_TTABLE, 2, "nil or table"); in db_setmetatable()
A Dlua.c444 if (lua_getglobal(L, firstline ? "_PROMPT" : "_PROMPT2") == LUA_TNIL) in get_prompt()
A Dlstrlib.c1180 case LUA_TNIL: case LUA_TBOOLEAN: { in addliteral()
/l4re-core-master/ned/server/src/
A Dlua_ns.cc97 case LUA_TNIL: in __register()

Completed in 25 milliseconds