view util/uuid.lua @ 135:bf10d42dd41b

Merged from Matthew
author Waqas Hussain <waqas20@gmail.com>
date Thu, 23 Oct 2008 21:51:00 +0500
parents 80d2ade0fd69
children fbb3a4ff9cf1
line wrap: on
line source


local m_random = math.random;
module "uuid"

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

return _M;