Searched refs:lua_isnone (Results 1 – 3 of 3) sorted by relevance
290 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()
216 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()
358 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro