Use %rename
This commit is contained in:
parent
4e57c5536d
commit
b1b13d7d0a
2 changed files with 8 additions and 0 deletions
|
|
@ -3,6 +3,13 @@
|
||||||
%include "std_string.i"
|
%include "std_string.i"
|
||||||
%feature("director");
|
%feature("director");
|
||||||
|
|
||||||
|
#if !defined(SWIGLUA) && !defined(SWIGR)
|
||||||
|
%rename(EqualEqual) operator ==;
|
||||||
|
%rename(NotEqual) operator !=;
|
||||||
|
%rename(LessThanEqual) operator <=;
|
||||||
|
%rename(GreaterThanEqual) operator >=;
|
||||||
|
#endif
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
class Foo {
|
class Foo {
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ apply_strings \
|
||||||
cpp_enum \
|
cpp_enum \
|
||||||
default_constructor \
|
default_constructor \
|
||||||
director_binary_string \
|
director_binary_string \
|
||||||
|
director_comparison_operators \
|
||||||
director_enum \
|
director_enum \
|
||||||
director_primitives \
|
director_primitives \
|
||||||
director_redefined \
|
director_redefined \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue