util/uuid.lua

Tue, 04 Nov 2008 18:17:48 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 04 Nov 2008 18:17:48 +0000
changeset 210
e679487e2fa4
parent 145
fbb3a4ff9cf1
child 519
cccd610a0ef9
permissions
-rw-r--r--

Part 2 of internal components. Should have mentioned that the previous commit was from waqas, this one from me.


local m_random = math.random;
module "uuid"

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

return _M;

mercurial