Searched refs:getfield (Results 1 – 1 of 1) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | loslib.c | 109 static int getfield (lua_State *L, const char *key, int d) { in getfield() function 178 ts.tm_sec = getfield(L, "sec", 0); in os_time() 179 ts.tm_min = getfield(L, "min", 0); in os_time() 180 ts.tm_hour = getfield(L, "hour", 12); in os_time() 181 ts.tm_mday = getfield(L, "day", -1); in os_time() 182 ts.tm_mon = getfield(L, "month", -1) - 1; in os_time() 183 ts.tm_year = getfield(L, "year", -1) - 1900; in os_time()
|