Oops. Accidently nuked a {. Fixed now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fd5f92f5e5
commit
0cbcbb551e
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ Swig_ConstructorToFunction(Node *n, String *classname,
|
|||
* otherwise, just create a normal instance.
|
||||
*/
|
||||
/* arty: arg1 != Py_None => tmp_none_comparison */
|
||||
Printv(action, "if (",tmp_none_comparison,") /* subclassed */\n",
|
||||
Printv(action, "if (",tmp_none_comparison,") {/* subclassed */\n",
|
||||
Swig_cresult(type, "result", Swig_cppconstructor_director_call(directorname, parms)),
|
||||
"} else {\n",
|
||||
Swig_cresult(type, "result", Swig_cppconstructor_nodirector_call(classname, parms)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue