add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f0ac941e8
commit
89e7497ac6
124 changed files with 671 additions and 281 deletions
|
|
@ -1,9 +1,12 @@
|
|||
%module(ruby_minherit="1") evil_diamond
|
||||
|
||||
%warnfilter(801) foo; // Ruby, wrong class name
|
||||
%warnfilter(801) bar; // Ruby, wrong class name
|
||||
%warnfilter(801) baz; // Ruby, wrong class name
|
||||
%warnfilter(801,813,833,870) spam; // Ruby, wrong class name - C# & Java, Php4 multiple inheritance
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) foo; // Ruby, wrong class name
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) bar; // Ruby, wrong class name
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) baz; // Ruby, wrong class name
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME,
|
||||
SWIGWARN_JAVA_MULTIPLE_INHERITANCE,
|
||||
SWIGWARN_CSHARP_MULTIPLE_INHERITANCE,
|
||||
SWIGWARN_PHP4_MULTIPLE_INHERITANCE) spam; // Ruby, wrong class name - C# & Java, Php4 multiple inheritance
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue