Bug fix for const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e336e7f40e
commit
e75fe76f9b
1 changed files with 2 additions and 2 deletions
|
|
@ -105,9 +105,9 @@ void emit_func_call(char *decl, DataType *t, ParmList *l, Wrapper *f) {
|
||||||
if (!fcall) fcall = NewString(Swig_cfunction_call(decl,l));
|
if (!fcall) fcall = NewString(Swig_cfunction_call(decl,l));
|
||||||
|
|
||||||
if (CPlusPlus) {
|
if (CPlusPlus) {
|
||||||
Swig_cppresult(f, t, "result", Char(fcall));
|
Swig_cppresult(f, t, (char*)"result", Char(fcall));
|
||||||
} else {
|
} else {
|
||||||
Swig_cresult(f, t, "result", Char(fcall));
|
Swig_cresult(f, t, (char*)"result", Char(fcall));
|
||||||
}
|
}
|
||||||
Delete(fcall);
|
Delete(fcall);
|
||||||
fcall = 0;
|
fcall = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue