Fixed const problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0ca0e356a3
commit
99721047c2
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ void Swig_cppresult(Wrapper *w, SwigType *t, String_or_char *name, String_or_cha
|
|||
Printf(fcall, "%s = ", SwigType_str(t,"_result_ref"));
|
||||
break;
|
||||
default:
|
||||
Printf(fcall, "%s = %s", name, SwigType_lcaststr(t,""));
|
||||
Printf(fcall,"%s = (%s)", name, SwigType_lstr(t,0));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue