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.
|
/* if Python class has been subclassed, create a director instance.
|
||||||
* otherwise, just create a normal instance.
|
* otherwise, just create a normal instance.
|
||||||
*/
|
*/
|
||||||
// arty: arg1 != Py_None => tmp_none_comparison
|
/* 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)),
|
Swig_cresult(type, "result", Swig_cppconstructor_director_call(directorname, parms)),
|
||||||
"} else {\n",
|
"} else {\n",
|
||||||
Swig_cresult(type, "result", Swig_cppconstructor_nodirector_call(classname, parms)),
|
Swig_cresult(type, "result", Swig_cppconstructor_nodirector_call(classname, parms)),
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ Wrapper_pretty_print(String *str, File *f) {
|
||||||
|
|
||||||
void
|
void
|
||||||
Wrapper_compact_print(String *str, File *f) {
|
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 level = 0;
|
||||||
int c, i;
|
int c, i;
|
||||||
int empty = 1;
|
int empty = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue