fix serious bug with def args + static methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0759851fad
commit
b19d0dc05e
2 changed files with 22 additions and 0 deletions
17
Examples/test-suite/python/default_args_runme.py
Normal file
17
Examples/test-suite/python/default_args_runme.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import default_args
|
||||
|
||||
|
||||
if default_args.Statics.staticmethod() != 60:
|
||||
raise RuntimeError
|
||||
|
||||
if default_args.cfunc1(1) != 2:
|
||||
raise RuntimeError
|
||||
|
||||
if default_args.cfunc2(1) != 3:
|
||||
raise RuntimeError
|
||||
|
||||
if default_args.cfunc3(1) != 4:
|
||||
raise RuntimeError
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue