X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fioncore_luaext.lua;h=a98d2cea40041808862e02c911ec804f1e20e274;hb=2948134dc6273f6d3ea089c4cc273b69e2f8d51e;hp=c8e94f4ae989116436d86c5ee13add11c5426461;hpb=ae4260bb64817c11f9a7140324cd3e3ba113e297;p=ion3.git diff --git a/ioncore/ioncore_luaext.lua b/ioncore/ioncore_luaext.lua index c8e94f4..a98d2ce 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-2007. +-- Copyright (c) Tuomo Valkonen 2004-2008. -- -- 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