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:
parent
609a8fe62e
commit
d236483ecb
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue