Skip to content
Snippets Groups Projects
Commit 278b023f authored by dg's avatar dg
Browse files

remove old style vararg (arg instead of ...) because of luajit

git-svn-id: http://svn.net-core.org/repos/t-engine4@440 51575b47-30f0-44d4-a5cc-537603b46e54
parent 6285b091
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ end
-- chains a bunch of filters together
-- (thanks to Wim Couwenberg)
function filter.chain(...)
local arg = {...}
local n = table.getn(arg)
local top, index = 1, 1
local retry = ""
......@@ -186,6 +187,7 @@ end
-- other, as if they were concatenated
-- (thanks to Wim Couwenberg)
function source.cat(...)
local arg = {...}
local src = table.remove(arg, 1)
return function()
while src do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment