add the label for use inside typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6a8a0d902a
commit
1657c18b67
2 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ namespace swig
|
|||
*/
|
||||
%ignore stop_iteration;
|
||||
%typemap(throws) stop_iteration {
|
||||
(void)$exception;
|
||||
SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
|
||||
SWIG_fail;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue