File

util/uuid.lua @ 226:ba4711c4e8d2

Committing code to get nicer tracebacks for errors, also we no longer consider such errors fatal (probably a bad thing, I know...)
author Matthew Wild <mwild1@gmail.com>
date Sat, 08 Nov 2008 20:42:23 +0000
parent 145:fbb3a4ff9cf1
child 519:cccd610a0ef9
line wrap: on
line source


local m_random = math.random;
module "uuid"

function generate()
	return m_random(0, 99999999);
end

return _M;