From 89e7497ac629277e75e101ddff69a9249e1ea8ca Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Fri, 6 Jan 2006 11:42:24 +0000 Subject: add support for named warning codes git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/cpp_basic.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Examples/test-suite/cpp_basic.i') diff --git a/Examples/test-suite/cpp_basic.i b/Examples/test-suite/cpp_basic.i index 6a2b389a4..260cbeb5d 100644 --- a/Examples/test-suite/cpp_basic.i +++ b/Examples/test-suite/cpp_basic.i @@ -1,8 +1,8 @@ /* This is a basic test of proxy classes, used by chicken */ -%warnfilter(454); /* memory leak when setting a ptr/ref variable */ +%warnfilter(SWIGWARN_TYPEMAP_SWIGTYPELEAK); /* memory leak when setting a ptr/ref variable */ -%warnfilter(801) global_cint; /* Ruby, wrong constant name */ +%warnfilter(SWIGWARN_RUBY_WRONG_NAME) global_cint; /* Ruby, wrong constant name */ %module cpp_basic -- cgit v1.2.1