From fc89bc2f9bd0fda7eebaf5f1a26f83fa6a6194ba Mon Sep 17 00:00:00 2001 From: Jonah Beckford Date: Sat, 22 Mar 2003 12:54:33 +0000 Subject: [PATCH] Fixed extremely silly mistake that causes intermittent failures when overloading methods. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/chicken.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Source/Modules/chicken.cxx b/Source/Modules/chicken.cxx index 78ea617ae..c1fbe6be8 100644 --- a/Source/Modules/chicken.cxx +++ b/Source/Modules/chicken.cxx @@ -1783,15 +1783,9 @@ CHICKEN::dispatchFunction(Node *n) "va_list v;\n", "C_word *a, c2 = c;\n", "C_save_rest (t1, c2, 2);\n", - "C_check_for_interrupt;\n", - "if (!C_demand (c*C_SIZEOF_PAIR+0)) {\n", - "C_save_and_reclaim((void*)swig_tr2r, (void*)real_", wname, ", 2, t0, t1);\n", - "}\n", - "else {\n", "a = C_alloc((c-2)*3);\n", "t2 = C_restore_rest (a, C_rest_count (0));\n", - "real_", wname, " (3, t0, t1, t2);\n", - "}\n", NIL); + "real_", wname, " (3, t0, t1, t2);\n", NIL); Printv(f->code,"}\n",NIL); Wrapper_print(f,f_wrappers); #endif