add SWIG_fail to SWIG_expcetion macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4fe414504f
commit
1396dffb68
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
Version 1.3.32 (in progress)
|
Version 1.3.32 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
03/25/2007: wuzzeb (John Lenz)
|
||||||
|
[perl5] Add SWIG_fail to the SWIG_exception macro. Fixes a few problems reported
|
||||||
|
on the mailing list.
|
||||||
|
|
||||||
03/23/2007: wsfulton
|
03/23/2007: wsfulton
|
||||||
String copying patch from Josh Cherry reducing memory consumption by about 25%.
|
String copying patch from Josh Cherry reducing memory consumption by about 25%.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
%include <typemaps/exception.swg>
|
%include <typemaps/exception.swg>
|
||||||
|
|
||||||
%insert("runtime") {
|
%insert("runtime") {
|
||||||
%define_as(SWIG_exception(code, msg), %block(%error(code, msg);))
|
%define_as(SWIG_exception(code, msg), %block(%error(code, msg); SWIG_fail; ))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue