Multiple inheritance workarounds for C#

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-12-08 21:31:05 +00:00
commit 05b947216a
2 changed files with 6 additions and 2 deletions

View file

@ -51,6 +51,9 @@ namespace oss
%inline %{
namespace oss
{
#ifdef SWIGCSHARP
%ignore HModule<B>::get(); // Work around for lack of multiple inheritance support - base ModuleBase is ignored.
#endif
struct test : HModule<B>
{
virtual int get() {return 0;} // declaration here breaks swig