(GUILE::create_function): Void functions now return
#<unspecified> instead of #<undefined>. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f69c746ade
commit
8dcfa8be65
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ GUILE::create_function (char *name, char *iname, DataType *d, ParmList *l)
|
|||
// Now have return value, figure out what to do with it.
|
||||
|
||||
if (d->type == T_VOID)
|
||||
f.code << tab4 << "gswig_result = GH_NOT_PASSED;\n";
|
||||
f.code << tab4 << "gswig_result = GH_UNSPECIFIED;\n";
|
||||
else if ((tm = typemap_lookup ("out", typemap_lang,
|
||||
d, name, "_result", "gswig_result", &f))) {
|
||||
f.code << tm << "\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue