Searched refs:setfield (Results 1 – 1 of 1) sorted by relevance
/external/lua/src/ |
D | loslib.c | 197 static void setfield (lua_State *L, const char *key, int value) { in setfield() function 214 setfield(L, "sec", stm->tm_sec); in setallfields() 215 setfield(L, "min", stm->tm_min); in setallfields() 216 setfield(L, "hour", stm->tm_hour); in setallfields() 217 setfield(L, "day", stm->tm_mday); in setallfields() 218 setfield(L, "month", stm->tm_mon + 1); in setallfields() 219 setfield(L, "year", stm->tm_year + 1900); in setallfields() 220 setfield(L, "wday", stm->tm_wday + 1); in setallfields() 221 setfield(L, "yday", stm->tm_yday + 1); in setallfields()
|