Fixed const problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3014f0e1c5
commit
7bc2b85464
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"));
|
Printf(fcall, "%s = ", SwigType_str(t,"_result_ref"));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Printf(fcall, "%s = %s", name, SwigType_lcaststr(t,""));
|
Printf(fcall,"%s = (%s)", name, SwigType_lstr(t,0));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue