docs: Fix documented return type of 'scm_c_export'.
authorMark H Weaver <mhw@netris.org>
Wed, 1 Oct 2014 22:57:44 +0000 (18:57 -0400)
committerMark H Weaver <mhw@netris.org>
Wed, 1 Oct 2014 23:13:34 +0000 (19:13 -0400)
Fixes <http://bugs.gnu.org/17869>.
Reported and fixed by Alexei Matveev <alexei.matveev@gmail.com>.

* doc/ref/api-modules.texi (Accessing Modules from C): Change documented
  return type of 'scm_c_export' to 'void' to reflect reality.
* THANKS: Add Alexei Matveev to the fixes section.

THANKS
doc/ref/api-modules.texi

diff --git a/THANKS b/THANKS
index 4038d5e..1cc749a 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -127,6 +127,7 @@ For fixes or providing information which led to a fix:
         Gregory Marton
       Kjetil S. Matheussen
         Antoine Mathys
+         Alexei Matveev
         Patrick McCarty
             Dan McMahill
           Roger Mc Murtrie
index e9d7aec..4c46f29 100644 (file)
@@ -1066,7 +1066,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}.