Searched refs:lua_isnone (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | lbaselib.c | 343 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile() 392 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load()
|
H A D | lcorolib.c | 157 lua_State *co = lua_isnone(L, 1) ? L : getco(L); in luaB_yieldable()
|
H A D | ltests.c | 839 if (lua_isnone(L, 1)) { in mem_query() 866 if (lua_isnone(L, 1)) in alloc_count() 966 if (lua_isnone(L, 2)) { in hash_query() 1083 if (lua_isnone(L, 3)) { in upvalue() 1223 while (!lua_isnone(L1, ++i)) in doremote() 1496 lua_pushboolean(L1, lua_isnone(L1, getindex)); in runC()
|
H A D | liolib.c | 229 if (lua_isnone(L, 1)) /* no argument? */ in io_close() 388 if (lua_isnone(L, 1)) lua_pushnil(L); /* at least one argument */ in io_lines()
|
H A D | lua.h | 390 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro
|
H A D | lmathlib.c | 620 if (lua_isnone(L, 1)) { in math_randomseed()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 336 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro
|