Fixed comment problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c702f53003
commit
c4454717c3
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)),
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ Wrapper_pretty_print(String *str, File *f) {
|
|||
|
||||
void
|
||||
Wrapper_compact_print(String *str, File *f) {
|
||||
String *ts, *tf; //temp string & temp file
|
||||
String *ts, *tf; /*temp string & temp file */
|
||||
int level = 0;
|
||||
int c, i;
|
||||
int empty = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue