summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/guile/guile.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/guile/guile.pl b/sysdeps/guile/guile.pl
index 7a272ebc..a5efefe0 100644
--- a/sysdeps/guile/guile.pl
+++ b/sysdeps/guile/guile.pl
@@ -81,6 +81,10 @@ sub make_output {
$total_nr_params = 0;
+ if ($retval eq 'retval') {
+ $retval = 'int';
+ }
+
if ($param_def eq 'string') {
$call_param = ', gh_scm2newstr( ' . $line_fields[5] . ', NULL)';
$param_decl = 'SCM ' . $line_fields[5];