refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-27 23:53:50 +02:00
parent 29b6a81d95
commit 23d88e7d82
3 changed files with 12 additions and 10 deletions
+3 -2
View File
@@ -161,11 +161,12 @@ do
return {__call=f, __unm=function(self) return setmetatable(self, nil) end}
end
local set_mt, list_mt, object_mt = collector_mt(insert_keys), collector_mt(insert_values), collector_mt(insert_pairs)
public()
_=public
function set.get() return setmetatable(t, set_mt) end
function list.get() return setmetatable(t, list_mt) end
function object.get() return setmetatable(t, object_mt) end
private()
_=private
end
function public.log(...) temp=arg