X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fioncore_luaext.lua;h=a8ab8b860e4c1894eeb349409626e4b375f09bef;hb=refs%2Fheads%2Fmaster;hp=74d38802686302c7b05efd0caa0b55741008d5b1;hpb=d851e7d55f99040bdfb6b5e1b799b7d6adad22b2;p=ion3.git diff --git a/ioncore/ioncore_luaext.lua b/ioncore/ioncore_luaext.lua index 74d3880..a8ab8b8 100644 --- a/ioncore/ioncore_luaext.lua +++ b/ioncore/ioncore_luaext.lua @@ -1,7 +1,7 @@ -- -- ion/share/ioncore_luaext.lua -- --- Copyright (c) Tuomo Valkonen 2004-2008. +-- Copyright (c) Tuomo Valkonen 2004-2009. -- -- See the included file LICENSE for details. -- @@ -82,7 +82,7 @@ end --DOC -- Export a list of functions from \var{lib} into global namespace. function export(lib, ...) - for k, v in pairs(arg) do + for k, v in pairs({...}) do _G[v]=lib[v] end end