| 163 | } |
| 164 | |
| 165 | static int |
| 166 | ts_lua_get_now_time(lua_State *L) |
| 167 | { |
| 168 | lua_Number now; |
| 169 | |
| 170 | // Return fractional seconds. |
| 171 | now = ((lua_Number)TShrtime()) / 1000000000.0; |
| 172 | lua_pushnumber(L, now); |
| 173 | return 1; |
| 174 | } |
| 175 | |
| 176 | static int |
| 177 | ts_lua_debug(lua_State *L) |
nothing calls this directly
no test coverage detected