some progress on the new auction table

This commit is contained in:
Manuel Simon Hirsig
2016-01-31 23:17:07 +01:00
parent 29e37a93ca
commit 2f62806761
10 changed files with 1223 additions and 64 deletions
+9
View File
@@ -10,6 +10,15 @@ local merge, copy_array
function Aux.util.pass()
end
function public.wipe(table)
while getn(table) > 0 do
tremove(table)
end
for k, _ in pairs(table) do
table[k] = nil
end
end
function public.copy_table(table)
local copy = {}
for k, v in pairs(table) do