diff options
author | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2024-04-03 21:36:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 21:36:43 +0200 |
commit | 6b8f86885b500555ec4f2bb06db8fc9020b723cd (patch) | |
tree | 41a91394ea2d30164fb674ffe3e10c6f26250a6c /indra/newview/scripts/lua/Queue.lua | |
parent | c8f7e9d0256cec90d509b0cf0109c2c7479100d0 (diff) | |
parent | f069543328efc441673db9877c97ae2201b86e91 (diff) |
Merge branch 'release/luau-scripting' into release/luau-scripting
Diffstat (limited to 'indra/newview/scripts/lua/Queue.lua')
-rw-r--r-- | indra/newview/scripts/lua/Queue.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/Queue.lua b/indra/newview/scripts/lua/Queue.lua index b0a5a87f87..5ab2a8a72c 100644 --- a/indra/newview/scripts/lua/Queue.lua +++ b/indra/newview/scripts/lua/Queue.lua @@ -1,6 +1,12 @@ -- from https://create.roblox.com/docs/luau/queues#implementing-queues, -- amended per https://www.lua.org/pil/16.1.html +-- While coding some scripting in Lua +-- I found that I needed a queua +-- I thought of linked list +-- But had to resist +-- For fear it might be too obscua. + local Queue = {} function Queue:new() |