Searched refs:luaL_opt (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltablib.c | 100 last = luaL_opt(L, luaL_checkint, 4, luaL_len(L, 1)); in tconcat() 141 e = luaL_opt(L, luaL_checkint, 3, luaL_len(L, 1)); in unpack()
|
H A D | lauxlib.c | 346 return luaL_opt(L, luaL_checknumber, narg, def); in luaL_optnumber() 370 return luaL_opt(L, luaL_checkinteger, narg, def); in luaL_optinteger() 376 return luaL_opt(L, luaL_checkunsigned, narg, def); in luaL_optunsigned()
|
H A D | lauxlib.h | 121 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) macro
|