diff options
Diffstat (limited to 'uuid.lua')
| -rw-r--r-- | uuid.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,4 +1,5 @@ -- A simple UUID function based on RFC 4122: http://www.ietf.org/rfc/rfc4122.txt +local unpack = unpack or table.unpack local function uuid() local r = math.random -- Set all the other bits to randomly (or pseudo-randomly) chosen values. |
