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:
parent
7c3af222a3
commit
a31ec93aa7
2 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
%runtime "common.swg"
|
%runtime "common.swg"
|
||||||
|
|
||||||
/* Exception handling in wrappers */
|
/* Exception handling in wrappers */
|
||||||
#define SWIG_fail goto fail
|
/* #define SWIG_fail goto fail */
|
||||||
|
|
||||||
#ifdef SWIG_NOINCLUDE
|
#ifdef SWIG_NOINCLUDE
|
||||||
%runtime "rubydec.swg"
|
%runtime "rubydec.swg"
|
||||||
|
|
|
||||||
|
|
@ -873,9 +873,11 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Error handling code */
|
/* Error handling code */
|
||||||
|
/*
|
||||||
Printf(f->code,"fail:\n");
|
Printf(f->code,"fail:\n");
|
||||||
Printv(f->code,cleanup,NIL);
|
Printv(f->code,cleanup,NIL);
|
||||||
Printv(f->code,"return Qnil;\n",NIL);
|
Printv(f->code,"return Qnil;\n",NIL);
|
||||||
|
*/
|
||||||
Printf(f->code,"}\n");
|
Printf(f->code,"}\n");
|
||||||
|
|
||||||
/* Substitute the cleanup code */
|
/* Substitute the cleanup code */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue