remove extra '\n' reported by Robert Jones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c26f2b387b
commit
5864f4ffce
1 changed files with 2 additions and 3 deletions
|
|
@ -298,12 +298,11 @@ String *Swig_cresult(SwigType *t, const String_or_char *name, const String_or_ch
|
|||
if (!((*c == ';') || (*c == '}')))
|
||||
Append(fcall, ";");
|
||||
}
|
||||
Append(fcall,"\n");
|
||||
|
||||
if (SwigType_type(t) == T_REFERENCE) {
|
||||
String *lstr = SwigType_lstr(t,0);
|
||||
Printf(fcall,"%s = (%s) &_result_ref;\n", name, lstr);
|
||||
Append(fcall,"}\n");
|
||||
Printf(fcall,"\n%s = (%s) &_result_ref;\n", name, lstr);
|
||||
Append(fcall,"}");
|
||||
Delete(lstr);
|
||||
}
|
||||
return fcall;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue