File

util/uuid.lua @ 432:fb19a5c14d44

Fix for hashes.c and encodings.c to rename luaopen for util_*
author Matthew Wild <mwild1@gmail.com>
date Wed, 26 Nov 2008 22:45:33 +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;