fix spurious warning for kwargs + vars, reported by Amaury

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-06 11:08:35 +00:00
commit 3cbecbd4e1
2 changed files with 9 additions and 1 deletions

View file

@ -2,6 +2,12 @@
%kwargs;
%inline
{
struct s { int a; };
}
// Simple class
%extend Foo
{
@ -90,7 +96,7 @@
// Functions with keywords
%warnfilter(-314);
%warnfilter(SWIGWARN_PARSE_KEYWORD);
%inline %{
/* silently rename the parameter names in python */