Interface feature fix for typedef types
This commit is contained in:
parent
2dec8c5514
commit
5117c77d4a
2 changed files with 25 additions and 8 deletions
|
|
@ -49,3 +49,18 @@ struct U : R {};
|
|||
struct V : S {};
|
||||
struct W : T {};
|
||||
%}
|
||||
|
||||
#if defined(SWIGJAVA) || defined(SWIGCSHARP)
|
||||
%interface_impl(BaseOverloaded);
|
||||
#endif
|
||||
%inline %{
|
||||
struct BaseOverloaded {
|
||||
typedef P PTypedef;
|
||||
virtual ~BaseOverloaded() {}
|
||||
virtual void identical_overload(int i, const PTypedef &pp = PTypedef()) {}
|
||||
};
|
||||
|
||||
struct DerivedOverloaded : public BaseOverloaded {
|
||||
virtual void identical_overload(int i, const PTypedef &p = PTypedef()) {}
|
||||
};
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue