Bug 3400486: Fix error signalling for built-in constructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d2dd3c0674
commit
b61ccd00ec
2 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
|
|
||||||
Version 2.0.5 (in progress)
|
Version 2.0.5 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
2011-08-30: szager
|
||||||
|
[python] Bug 3400486, fix error signalling for built-in constructors.
|
||||||
|
|
||||||
2011-08-26: wsfulton
|
2011-08-26: wsfulton
|
||||||
[Go] Fix file/line number display for "gotype" when using typemap debugging options
|
[Go] Fix file/line number display for "gotype" when using typemap debugging options
|
||||||
|
|
|
||||||
|
|
@ -2545,7 +2545,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (builtin_ctor)
|
if (builtin_ctor)
|
||||||
Append(f->code, " return resultobj == Py_None ? 1 : 0;\n");
|
Append(f->code, " return resultobj == Py_None ? -1 : 0;\n");
|
||||||
else
|
else
|
||||||
Append(f->code, " return resultobj;\n");
|
Append(f->code, " return resultobj;\n");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue