summaryrefslogtreecommitdiff
path: root/Examples/test-suite/using_namespace.i
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2006-01-06 11:42:24 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2006-01-06 11:42:24 +0000
commit89e7497ac629277e75e101ddff69a9249e1ea8ca (patch)
treefbe2a8cc1c6640df7379fbfeb01ee2fced255547 /Examples/test-suite/using_namespace.i
parent6f0ac941e8069a922cb4c38a12dc6b5a1823d1c0 (diff)
downloadswig-89e7497ac629277e75e101ddff69a9249e1ea8ca.tar.gz
add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/using_namespace.i')
-rw-r--r--Examples/test-suite/using_namespace.i8
1 files changed, 5 insertions, 3 deletions
diff --git a/Examples/test-suite/using_namespace.i b/Examples/test-suite/using_namespace.i
index abeb555f4..a4c35274a 100644
--- a/Examples/test-suite/using_namespace.i
+++ b/Examples/test-suite/using_namespace.i
@@ -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