(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:
Thien-Thi Nguyen 2000-05-11 08:57:11 +00:00
commit 8dcfa8be65

View file

@ -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";