From 3ff1d150a13a63db0cefd4cacb0d083254dbc38e Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 7 Jun 2010 20:55:33 +0000 Subject: *** empty log message *** --- src/lua5/im_process.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lua5/im_process.lua') 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 -- cgit v1.2.3