fix warnings for ruby + java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bcd966d1c5
commit
da25776cc4
1 changed files with 8 additions and 0 deletions
|
|
@ -3,6 +3,14 @@ It tests basic multiple inheritance */
|
||||||
|
|
||||||
%module multiple_inheritance
|
%module multiple_inheritance
|
||||||
|
|
||||||
|
#ifdef SWIGRUBY
|
||||||
|
#pragma SWIG nowarn=802; // Ruby doesn't support multiple inheritance
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef SWIGJAVA
|
||||||
|
#pragma SWIG nowarn=813; // Java doesn't support multiple inheritance
|
||||||
|
#endif
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
||||||
class Bar {
|
class Bar {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue