Add more tests for Python parameter renaming

These tests were proposed by @wsfulton.

See https://github.com/swig/swig/issues/1272
This commit is contained in:
Vadim Zeitlin 2019-01-16 04:29:04 +01:00
commit 22158807fa
3 changed files with 12 additions and 0 deletions

View file

@ -148,3 +148,11 @@ bool is_python_builtin() { return true; }
bool is_python_builtin() { return false; }
#endif
%}
// Autodoc Python keywords
%warnfilter(SWIGWARN_PARSE_KEYWORD) process;
%feature(autodoc,0) process;
%feature("compactdefaultargs") process;
%inline %{
int process(int from) { return from; }
%}