Fixed comment problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
538f3a8253
commit
5393751256
2 changed files with 3 additions and 3 deletions
|
|
@ -657,8 +657,8 @@ Swig_ConstructorToFunction(Node *n, String *classname,
|
|||
/* if Python class has been subclassed, create a director instance.
|
||||
* otherwise, just create a normal instance.
|
||||
*/
|
||||
// arty: arg1 != Py_None => tmp_none_comparison
|
||||
Printv(action, "if (",tmp_none_comparison,") { // subclassed\n",
|
||||
/* arty: arg1 != Py_None => tmp_none_comparison */
|
||||
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