Searched refs:luaL_opt (Results 1 – 4 of 4) sorted by relevance
/external/lua/src/ |
D | lauxlib.h | 151 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) macro
|
D | loslib.c | 307 time_t t = luaL_opt(L, l_checktime, 2, time(NULL)); in os_date()
|
D | ltablib.c | 196 lua_Integer e = luaL_opt(L, luaL_checkinteger, 3, luaL_len(L, 1)); in tunpack()
|
D | lauxlib.c | 430 return luaL_opt(L, luaL_checknumber, arg, def); in luaL_optnumber() 454 return luaL_opt(L, luaL_checkinteger, arg, def); in luaL_optinteger()
|