Added missing return type to pointer conversion function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cbf9d44696
commit
c7f9991461
1 changed files with 1 additions and 1 deletions
|
|
@ -1494,7 +1494,7 @@ void SwigType_inherit_equiv(File *out) {
|
|||
|
||||
ckey = NewStringf("%s+%s",SwigType_manglestr(prefix), SwigType_manglestr(rkey));
|
||||
if (!Getattr(conversions,ckey)) {
|
||||
Printf(out,"static %sTo%s(void *x) {\n", SwigType_manglestr(prefix), SwigType_manglestr(rkey));
|
||||
Printf(out,"static void *%sTo%s(void *x) {\n", SwigType_manglestr(prefix), SwigType_manglestr(rkey));
|
||||
Printf(out," return (void *)((%s) ((%s) x));\n", SwigType_lstr(rkey,0), SwigType_lstr(prefix,0));
|
||||
Printf(out,"}\n");
|
||||
SetInt(conversions,ckey,1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue