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:
Marcelo Matus 2006-01-06 11:42:24 +00:00
commit 89e7497ac6
124 changed files with 671 additions and 281 deletions

View file

@ -1,13 +1,13 @@
/* File : example.i */
%module "template_explicit"
%warnfilter(801) vector<int>; /* Ruby, wrong class name */
%warnfilter(801) vector<double>; /* Ruby, wrong class name */
%warnfilter(801) vector<int (*)[10]>; /* Ruby, wrong class name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<int>; /* Ruby, wrong class name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<double>; /* Ruby, wrong class name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) vector<int (*)[10]>; /* Ruby, wrong class name */
// #pragma is used for warnings that are not associated to
// specific nodes.
#pragma SWIG nowarn=-320
#pragma SWIG nowarn=-SWIGWARN_PARSE_EXPLICIT_TEMPLATE
/* Let's just grab the original header file here */