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:
parent
18771f8267
commit
3cbecbd4e1
2 changed files with 9 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue