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:
Dave Beazley 2000-07-10 23:11:50 +00:00
commit b0ad291f1c

View file

@ -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);