* bug#17869: wrong return type for void scm_c_export(const char *name, ...) in docs
@ 2014-06-29 11:55 Alexei Matveev
2014-10-01 23:15 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Alexei Matveev @ 2014-06-29 11:55 UTC (permalink / raw
To: 17869
[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]
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
alexei@ThinkPad:~/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}.
@end deftypefn
-@deftypefn {C Function} SCM scm_c_export ({const char *}@var{name}, ...)
+@deftypefn {C Function} void scm_c_export ({const char *}@var{name}, ...)
Add the bindings designated by @var{name}, ... to the public interface
of the current module. The list of names is terminated by
@code{NULL}.
[-- Attachment #2: Type: text/html, Size: 1965 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-01 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-29 11:55 bug#17869: wrong return type for void scm_c_export(const char *name, ...) in docs Alexei Matveev
2014-10-01 23:15 ` Mark H Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).