multiple inheritance fix workaround for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a1cffdb1fd
commit
92a340a5e0
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
%warnfilter(813,833) C; /* C#, Java multiple inheritance */
|
%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) {
|
%contract test_preassert(int a, int b) {
|
||||||
require:
|
require:
|
||||||
a > 0;
|
a > 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue