MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / tm

Class tm

extlibs/lua/src/loslib.c:228–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226** Set all fields from structure 'tm' in the table on top of the stack
227*/
228static void setallfields (lua_State *L, struct tm *stm) {
229 setfield(L, "year", stm->tm_year, 1900);
230 setfield(L, "month", stm->tm_mon, 1);
231 setfield(L, "day", stm->tm_mday, 0);

Callers 5

timeMethod · 0.50
on_24_hourMethod · 0.50
on_12_hourMethod · 0.50
on_minuteMethod · 0.50
on_secondMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected