Add another interface test selecting just one base as an interface
This commit is contained in:
parent
645147a5b2
commit
67f38e8124
2 changed files with 24 additions and 1 deletions
|
|
@ -6,7 +6,6 @@ DECLARE_INTERFACE_RENAME(IA, A, IA)
|
|||
DECLARE_INTERFACE_RENAME(IB, B, IB)
|
||||
DECLARE_INTERFACE_RENAME(IC, C, IC)
|
||||
#endif
|
||||
|
||||
%inline %{
|
||||
struct IA {
|
||||
virtual void ia() {};
|
||||
|
|
@ -30,3 +29,17 @@ struct IK : IJ {};
|
|||
struct IL : IK {};
|
||||
struct M : IL {};
|
||||
%}
|
||||
|
||||
#if defined(SWIGJAVA) || defined(SWIGCSHARP)
|
||||
DECLARE_INTERFACE_RENAME(IQ, Q, IQ)
|
||||
#endif
|
||||
%inline %{
|
||||
struct P { virtual void p() {}; };
|
||||
struct IQ { virtual void iq() {}; };
|
||||
struct R : IQ, P {};
|
||||
struct S : P, IQ {};
|
||||
struct T : IQ {};
|
||||
struct U : R {};
|
||||
struct V : S {};
|
||||
struct W : T {};
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue