File

util/time.lua @ 7681:2f2f93661d8b

Makefile: Use install to copy plugins that live in subdirectories instead of recursive cp
author Kim Alvefur <zash@zash.se>
date Sat, 01 Oct 2016 01:39:46 +0200
parent 7461:72e48bddf617
line wrap: on
line source

-- Import gettime() from LuaSocket, as a way to access high-resolution time
-- in a platform-independent way

local socket_gettime = require "socket".gettime;

return {
	now = socket_gettime;
}