Searched refs:luaL_optint (Results 1 – 6 of 6) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lbaselib.c | 54 int base = luaL_optint(L, 2, 10); in luaB_tonumber() 82 int level = luaL_optint(L, 2, 1); in luaB_error() 121 int level = opt ? luaL_optint(L, 1, 1) : luaL_checkint(L, 1); in getfunc() 199 int ex = luaL_optint(L, 2, 0); in luaB_collectgarbage() 345 i = luaL_optint(L, 2, 1); in luaB_unpack()
|
| H A D | ltablib.c | 120 int pos = luaL_optint(L, 2, e); in tremove() 150 i = luaL_optint(L, 3, 1); in tconcat()
|
| H A D | lauxlib.h | 105 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) macro
|
| H A D | loslib.c | 217 exit(luaL_optint(L, 1, EXIT_SUCCESS)); in os_exit()
|
| H A D | ldblib.c | 269 count = luaL_optint(L, arg+3, 0); in db_sethook()
|
| H A D | lstrlib.c | 649 int max_s = luaL_optint(L, 4, srcl+1); in str_gsub()
|