changeset 6915 | cb5b14c95b7b |
parent 6914 | 56c9bc4ba247 |
child 9905 | c8b75239846c |
child 11107 | 73b8aaf55775 |
--- a/util/queue.lua Sun Oct 18 21:42:33 2015 +0100 +++ b/util/queue.lua Sun Oct 18 21:54:17 2015 +0100 @@ -16,7 +16,7 @@ local head, tail = 1, 1; local items = 0; -- Number of stored items local t = have_utable and utable.create(size, 0) or {}; -- Table to hold items - + --luacheck: ignore 212/self return { _items = t; size = size; @@ -52,6 +52,7 @@ return t[tail]; end; items = function (self) + --luacheck: ignore 431/t return function (t, pos) if pos >= t:count() then return nil;