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:
William S Fulton 2003-03-17 09:23:43 +00:00
commit 4908f410d7

View file

@ -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
%}