Fixed bug in constructor emit function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9ebd4f7c98
commit
b0ad291f1c
1 changed files with 1 additions and 1 deletions
|
|
@ -2032,7 +2032,7 @@ void cplus_emit_constructor(char *classname, char *classtype, char *classrename,
|
|||
else if (CPlusPlus) Printf(fcall,")");
|
||||
|
||||
Printf(wrap,"(%s)", fcall);
|
||||
fprintf(f_wrappers,"%s",Char(wrap));
|
||||
fprintf(f_wrappers,"%s\n",Char(wrap));
|
||||
} else {
|
||||
if (ccode) {
|
||||
Printv(wrap, "static ", classtype, classname, " *", cname, "(", 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue