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

@ -4,12 +4,12 @@
%module long_long
%warnfilter(801) lconst1; /* Ruby, wrong constant name */
%warnfilter(801) lconst2; /* Ruby, wrong constant name */
%warnfilter(801) lconst3; /* Ruby, wrong constant name */
%warnfilter(801) lconst4; /* Ruby, wrong constant name */
%warnfilter(801) lconst5; /* Ruby, wrong constant name */
%warnfilter(801) lconst6; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) lconst1; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) lconst2; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) lconst3; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) lconst4; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) lconst5; /* Ruby, wrong constant name */
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) lconst6; /* Ruby, wrong constant name */
%inline %{
void foo1(long long x) {}