Comment out Ruby code for "fail" tag.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Logan Johnson 2003-03-17 16:52:37 +00:00
commit a31ec93aa7
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@
%runtime "common.swg"
/* Exception handling in wrappers */
#define SWIG_fail goto fail
/* #define SWIG_fail goto fail */
#ifdef SWIG_NOINCLUDE
%runtime "rubydec.swg"

View file

@ -873,9 +873,11 @@ public:
}
/* Error handling code */
/*
Printf(f->code,"fail:\n");
Printv(f->code,cleanup,NIL);
Printv(f->code,"return Qnil;\n",NIL);
*/
Printf(f->code,"}\n");
/* Substitute the cleanup code */