Fix for languages that don't define SWIG_fail - thanks Mark
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
29728e97d4
commit
4908f410d7
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ Foo *launder(Foo *f) {
|
|||
#ifndef SWIG_DIRECTORS
|
||||
class SWIG_DIRECTOR_EXCEPTION {};
|
||||
class SWIG_DIRECTOR_METHOD_EXCEPTION: public SWIG_DIRECTOR_EXCEPTION {};
|
||||
#ifndef SWIG_fail
|
||||
#define SWIG_fail
|
||||
#endif
|
||||
#endif
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue