mirror of https://github.com/swig/swig
Use %rename
This commit is contained in:
parent
4e57c5536d
commit
b1b13d7d0a
|
@ -3,6 +3,13 @@
|
|||
%include "std_string.i"
|
||||
%feature("director");
|
||||
|
||||
#if !defined(SWIGLUA) && !defined(SWIGR)
|
||||
%rename(EqualEqual) operator ==;
|
||||
%rename(NotEqual) operator !=;
|
||||
%rename(LessThanEqual) operator <=;
|
||||
%rename(GreaterThanEqual) operator >=;
|
||||
#endif
|
||||
|
||||
%inline %{
|
||||
class Foo {
|
||||
public:
|
||||
|
|
|
@ -20,6 +20,7 @@ apply_strings \
|
|||
cpp_enum \
|
||||
default_constructor \
|
||||
director_binary_string \
|
||||
director_comparison_operators \
|
||||
director_enum \
|
||||
director_primitives \
|
||||
director_redefined \
|
||||
|
|
Loading…
Reference in New Issue