bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17869: wrong return type for void scm_c_export(const char *name, ...


From: Alexei Matveev
Subject: bug#17869: wrong return type for void scm_c_export(const char *name, ...) in docs
Date: Sun, 29 Jun 2014 13:55:13 +0200


Dear Guile Developers,

The reference guide documents the wrong return type for
the vararg function

  void scm_c_export(const char *name, ...)

saying it is SCM. Consider applying the diff below.

Also, again vararg functions are troublesome (impossible)
to call from Fortran and, maybe other languages, please dont
let them proliferate in Guile API.

Alexei

address@hidden:~/devel/guile$ git diff
diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi
index 286a37d..e2dc65f 100644
--- a/doc/ref/api-modules.texi
+++ b/doc/ref/api-modules.texi
@@ -1053,7 +1053,7 @@ module, as with @code{(use-modules @var{name})}.  The name is
 interpreted as for @code{scm_c_define_module}.
address@hidden deftypefn
 
address@hidden {C Function} SCM scm_c_export ({const char address@hidden, ...)
address@hidden {C Function} void scm_c_export ({const char address@hidden, ...)
 Add the bindings designated by @var{name}, ... to the public interface
 of the current module.  The list of names is terminated by
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]