Fix warning and improve description of ignore_parameter test

See https://github.com/swig/swig/pull/2205#issuecomment-1052648190
This commit is contained in:
Seth R Johnson 2022-02-26 19:48:54 -05:00 • committed by Olly Betts
commit f4e2a4feee
3 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,10 @@
%typemap(argout) int bb "called_argout = 1;"
%ignore unignorable;
// Don't let SWIG expand this function with its default parameter: instead,
// always "require" the version of the function with a single argument, but
// then ignore it using `numinputs=0`.
%ignore audi();
%inline %{
// constant for detecting correct "argout" call