diff options
author | scuri <scuri> | 2010-06-07 20:55:33 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-07 20:55:33 +0000 |
commit | 3ff1d150a13a63db0cefd4cacb0d083254dbc38e (patch) | |
tree | f05d8214d5ee86ffbd4c35aa8af84f4b2cc03f2a /src/lua5/im_process.lua | |
parent | 3349fa9ffaf6778fe2021c76a8193d6797be74e9 (diff) |
*** empty log message ***
Diffstat (limited to 'src/lua5/im_process.lua')
-rw-r--r-- | src/lua5/im_process.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lua5/im_process.lua b/src/lua5/im_process.lua index 8d866a4..5c73b29 100644 --- a/src/lua5/im_process.lua +++ b/src/lua5/im_process.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 @@ -63,7 +63,7 @@ local function ThreeSourcesOneDest (funcname, width, height, color_space, data_t 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, src_image3, dst_image, unpack(arg)) + local ret = func(src_image1, src_image2, src_image3, dst_image, ...) if (ret) then return ret, dst_image else @@ -87,7 +87,7 @@ local function OneSourceTwoDests (funcname, width, height, color_space, data_typ local dst_image2 = im.ImageCreateBased(src_image, width, height, color_space, data_type) -- call previous method, repassing all parameters - local ret = func(src_image, dst_image1, dst_image2, unpack(arg)) + local ret = func(src_image, dst_image1, dst_image2, ...) if (ret) then return ret, dst_image1, dst_image2 else @@ -112,7 +112,7 @@ local function OneSourceThreeDests (funcname, width, height, color_space, data_t local dst_image3 = im.ImageCreateBased(src_image, width, height, color_space, data_type) -- call previous method, repassing all parameters - local ret = func(src_image, dst_image1, dst_image2, dst_image3, unpack(arg)) + local ret = func(src_image, dst_image1, dst_image2, dst_image3, ...) if (ret) then return ret, dst_image1, dst_image2, dst_image3 else |