Searched refs:lua_isnone (Results 1 – 3 of 3) sorted by relevance
265 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile()314 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load()
185 if (lua_isnone(L, 1)) /* no argument? */ in io_close()325 if (lua_isnone(L, 1)) lua_pushnil(L); /* at least one argument */ in io_lines()
337 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro