Home
last modified time | relevance | path

Searched refs:lua_isnoneornil (Results 1 – 9 of 9) sorted by relevance

/external/lua/src/
Dltablib.c132 int tt = !lua_isnoneornil(L, 5) ? 5 : 1; /* destination table */ in tmove()
415 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in sort()
Dldblib.c351 if (lua_isnoneornil(L, arg+1)) { /* no hook? */ in db_sethook()
421 if (msg == NULL && !lua_isnoneornil(L, arg + 1)) /* non-string 'msg'? */ in db_traceback()
Dlauxlib.h137 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
Dloslib.c327 if (lua_isnoneornil(L, 1)) /* called without args? */ in os_time()
Dlmathlib.c182 if (lua_isnoneornil(L, 2)) in math_log()
Dlbaselib.c70 if (lua_isnoneornil(L, 2)) { /* standard conversion? */ in luaB_tonumber()
Dlua.h359 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
Dliolib.c304 if (!lua_isnoneornil(L, 1)) { in g_iofile()
Dlauxlib.c399 if (lua_isnoneornil(L, arg)) { in luaL_optlstring()