add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8f56375166
commit
bb4946d2fe
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@
|
|||
%define %raise(obj, type, desc)
|
||||
PyObject *_obj = obj;
|
||||
PyErr_SetObject(SWIG_Python_ExceptionType(desc), _obj);
|
||||
Py_DECREF(_obj) %enddef
|
||||
Py_DECREF(_obj);
|
||||
SWIG_fail %enddef
|
||||
|
||||
|
||||
/* Include the unified typemap library */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue