Fix Lua warning suppression for overload_extend testcase

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-02-19 12:39:44 +00:00
commit e019b40f7d

View file

@ -8,11 +8,12 @@
%typemap(default) double y "$1=1000;"; %typemap(default) double y "$1=1000;";
#endif #endif
#ifdef SWIGLUA // lua only has one numeric type, so some overloads shadow each other creating warnings #ifdef SWIGLUA
%warnfilter(SWIGWARN_LANG_OVERLOAD_SHADOW) test; // lua only has one numeric type, so some overloads shadow each other creating warnings
#endif %warnfilter(SWIGWARN_PARSE_REDEFINED, SWIGWARN_LANG_OVERLOAD_SHADOW) Foo::test;
#else
%warnfilter(SWIGWARN_PARSE_REDEFINED) Foo::test; %warnfilter(SWIGWARN_PARSE_REDEFINED) Foo::test;
#endif