add support for named warning codes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-06 11:42:24 +00:00
commit 3634df5e12
124 changed files with 671 additions and 281 deletions

View file

@ -1,9 +1,11 @@
%module(ruby_minherit="1") using_namespace
%warnfilter(801) hi::hi0; /* Ruby, wrong class name */
%warnfilter(801) hi::hi1; /* Ruby, wrong class name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) hi::hi0; /* Ruby, wrong class name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) hi::hi1; /* Ruby, wrong class name */
%warnfilter(813,833,870) Hi<hello::Hello, hi::hi0>; // C#, Java, Php4 multiple inheritance
%warnfilter(SWIGWARN_JAVA_MULTIPLE_INHERITANCE,
SWIGWARN_CSHARP_MULTIPLE_INHERITANCE,
SWIGWARN_PHP4_MULTIPLE_INHERITANCE) Hi<hello::Hello, hi::hi0>; // C#, Java, Php4 multiple inheritance
%inline %{
namespace hello