operator <= >= patch from Daniel Moore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0e756c1125
commit
a38a0ee182
1 changed files with 5 additions and 1 deletions
|
|
@ -1211,10 +1211,14 @@ public:
|
|||
Printv(pm, tab4, "\"|\" => sub { $_[0]->__or__($_[1])},\n",NIL);
|
||||
} else if (strstr(name, "__gt__")) {
|
||||
Printv(pm, tab4, "\">\" => sub { $_[0]->__gt__($_[1])},\n",NIL);
|
||||
} else if (strstr(name, "__ge__")) {
|
||||
Printv(pm, tab4, "\">=\" => sub { $_[0]->__ge__($_[1])},\n",NIL);
|
||||
} else if (strstr(name, "__not__")) {
|
||||
Printv(pm, tab4, "\"!\" => sub { $_[0]->__not__()},\n",NIL);
|
||||
}else if (strstr(name, "__lt__")) {
|
||||
} else if (strstr(name, "__lt__")) {
|
||||
Printv(pm, tab4, "\"<\" => sub { $_[0]->__lt__($_[1])},\n",NIL);
|
||||
} else if (strstr(name, "__le__")) {
|
||||
Printv(pm, tab4, "\"<=\" => sub { $_[0]->__le__($_[1])},\n",NIL);
|
||||
} else if (strstr(name, "__pluseq__")) {
|
||||
Printv(pm, tab4, "\"+=\" => sub { $_[0]->__pluseq__($_[1])},\n",NIL);
|
||||
} else if (strstr(name, "__mineq__")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue