Fixed default argument handling bug reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a9a69c6510
commit
0d716c43c2
1 changed files with 0 additions and 1 deletions
|
|
@ -157,7 +157,6 @@ SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
|
|||
int newref = 0;
|
||||
|
||||
if (!obj || (obj == Py_None)) {
|
||||
*ptr = 0;
|
||||
return 0;
|
||||
}
|
||||
#ifdef SWIG_COBJECT_TYPES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue