operator overload fix patch from Daniel Moore

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-06-05 21:00:27 +00:00
commit d236483ecb

View file

@ -1314,6 +1314,7 @@ public:
have_operators = 1;
} else if (Strstr(symname, "__str__")) {
DohSetInt(operators,"__str__",1);
have_operators = 1;
} else if (Strstr(symname, "__add__")) {
DohSetInt(operators,"__add__",1);
have_operators = 1;