Home
last modified time | relevance | path

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

/external/lua/src/
Dlbaselib.c290 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile()
339 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load()
Dliolib.c216 if (lua_isnone(L, 1)) /* no argument? */ in io_close()
358 if (lua_isnone(L, 1)) lua_pushnil(L); /* at least one argument */ in io_lines()
Dlua.h358 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro