Skip to content

Commit

Permalink
Merge pull request #398 from Hzj-jie/master
Browse files Browse the repository at this point in the history
Revert last change to add util.getsec()
  • Loading branch information
Frenzie committed Mar 23, 2016
2 parents 4da6478 + c198ca0 commit 75fc7f4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ffi/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,4 @@ function util.unichar (value)
end
end

-- Returns current time in seconds
function util.getsec()
local now = { util.gettime() }
return now[1]
end

return util

0 comments on commit 75fc7f4

Please sign in to comment.