summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonah Beckford <beckford@usermail.com>2003-03-22 12:54:33 +0000
committerJonah Beckford <beckford@usermail.com>2003-03-22 12:54:33 +0000
commit5a0c97a984fa614c6caf79f9e6cca34f51a3bd6e (patch)
treebefbe397b3a48ffba11c3e014030c368dfb7a398
parentf2a9e0fe0e0dc44389e954f96925ec45b213da37 (diff)
downloadswig-5a0c97a984fa614c6caf79f9e6cca34f51a3bd6e.tar.gz
Fixed extremely silly mistake that causes intermittent failures when
overloading methods. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--SWIG/Source/Modules/chicken.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/SWIG/Source/Modules/chicken.cxx b/SWIG/Source/Modules/chicken.cxx
index 78ea617ae..c1fbe6be8 100644
--- a/SWIG/Source/Modules/chicken.cxx
+++ b/SWIG/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