multiple inheritance fix workaround for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2e79282dab
commit
f32aca08f1
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
%warnfilter(813,833) C; /* C#, Java multiple inheritance */
|
||||
|
||||
#ifdef SWIGCSHARP
|
||||
%ignore B::bar; // otherwise get a warning: `C.bar' no suitable methods found to override
|
||||
#endif
|
||||
|
||||
%contract test_preassert(int a, int b) {
|
||||
require:
|
||||
a > 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue