Bug fix for const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
25c383afeb
commit
dc227f4835
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 (CPlusPlus) {
|
||||
Swig_cppresult(f, t, "result", Char(fcall));
|
||||
Swig_cppresult(f, t, (char*)"result", Char(fcall));
|
||||
} else {
|
||||
Swig_cresult(f, t, "result", Char(fcall));
|
||||
Swig_cresult(f, t, (char*)"result", Char(fcall));
|
||||
}
|
||||
Delete(fcall);
|
||||
fcall = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue