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:
parent
3f5c17824c
commit
22158807fa
3 changed files with 12 additions and 0 deletions
|
|
@ -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; }
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue