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:
parent
1677881e01
commit
e019b40f7d
1 changed files with 5 additions and 4 deletions
|
|
@ -8,11 +8,12 @@
|
|||
%typemap(default) double y "$1=1000;";
|
||||
#endif
|
||||
|
||||
#ifdef SWIGLUA // lua only has one numeric type, so some overloads shadow each other creating warnings
|
||||
%warnfilter(SWIGWARN_LANG_OVERLOAD_SHADOW) test;
|
||||
#endif
|
||||
|
||||
#ifdef SWIGLUA
|
||||
// lua only has one numeric type, so some overloads shadow each other creating warnings
|
||||
%warnfilter(SWIGWARN_PARSE_REDEFINED, SWIGWARN_LANG_OVERLOAD_SHADOW) Foo::test;
|
||||
#else
|
||||
%warnfilter(SWIGWARN_PARSE_REDEFINED) Foo::test;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue