summaryrefslogtreecommitdiff
path: root/src/lua5/im_fftw.lua
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-07 20:55:33 +0000
committerscuri <scuri>2010-06-07 20:55:33 +0000
commit3ff1d150a13a63db0cefd4cacb0d083254dbc38e (patch)
treef05d8214d5ee86ffbd4c35aa8af84f4b2cc03f2a /src/lua5/im_fftw.lua
parent3349fa9ffaf6778fe2021c76a8193d6797be74e9 (diff)
*** empty log message ***
Diffstat (limited to 'src/lua5/im_fftw.lua')
-rw-r--r--src/lua5/im_fftw.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua5/im_fftw.lua b/src/lua5/im_fftw.lua
index 7bae53e..584cd9f 100644
--- a/src/lua5/im_fftw.lua
+++ b/src/lua5/im_fftw.lua
@@ -15,7 +15,7 @@ local function OneSourceOneDest (funcname, width, height, color_space, data_type
local dst_image = im.ImageCreateBased(src_image, width, height, color_space, data_type)
-- call previous method, repassing all parameters
- local ret = func(src_image, dst_image, unpack(arg))
+ local ret = func(src_image, dst_image, ...)
if (ret) then
return ret, dst_image
else
@@ -40,7 +40,7 @@ local function TwoSourcesOneDest (funcname, width, height, color_space, data_typ
local dst_image = im.ImageCreateBased(src_image1, width, height, color_space, data_type)
-- call previous method, repassing all parameters
- local ret = func(src_image1, src_image2, dst_image, unpack(arg))
+ local ret = func(src_image1, src_image2, dst_image, ...)
if (ret) then
return ret, dst_image
else