diff --git a/Examples/test-suite/multiple_inheritance_abstract.i b/Examples/test-suite/multiple_inheritance_abstract.i index 696c1744e..e9fe00dd7 100644 --- a/Examples/test-suite/multiple_inheritance_abstract.i +++ b/Examples/test-suite/multiple_inheritance_abstract.i @@ -3,12 +3,13 @@ #if defined(SWIGJAVA) || defined(SWIGCSHARP) %include "feature_interface.i" -DECLARE_INTERFACE_RENAME(ABase1, SWIGTYPE_ABase1, ABase1) -DECLARE_INTERFACE_RENAME(CBase1, SWIGTYPE_CBase1, CBase1) -DECLARE_INTERFACE_RENAME(CBase2, SWIGTYPE_CBase2, CBase2) +DECLARE_INTERFACE_RENAME(ABase1, SWIGTYPE_ABase1, Space::ABase1) +DECLARE_INTERFACE_RENAME(CBase1, SWIGTYPE_CBase1, Space::CBase1) +DECLARE_INTERFACE_RENAME(CBase2, SWIGTYPE_CBase2, Space::CBase2) #endif %inline %{ +namespace Space { struct CBase1 { virtual void cbase1x() { return; @@ -312,5 +313,6 @@ DECLARE_INTERFACE_RENAME(CBase2, SWIGTYPE_CBase2, CBase2) CBase2 MakeValDerived3_CBase2() { return Derived3(); } +} %}