Home
last modified time | relevance | path

Searched refs:lua_isnone (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/lua/src/
H A Dlbaselib.c321 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile()
370 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load()
H A Dlcorolib.c154 lua_State *co = lua_isnone(L, 1) ? L : getco(L); in luaB_yieldable()
H A Dliolib.c223 if (lua_isnone(L, 1)) /* no argument? */ in io_close()
382 if (lua_isnone(L, 1)) lua_pushnil(L); /* at least one argument */ in io_lines()
H A Dlua.h378 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro
H A Dlmathlib.c619 if (lua_isnone(L, 1)) { in math_randomseed()
/freebsd-13.1/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h337 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro