Doc typo fixes
authorNeil Jerram <neil@ossau.uklinux.net>
Fri, 15 Sep 2006 09:23:18 +0000 (09:23 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Fri, 15 Sep 2006 09:23:18 +0000 (09:23 +0000)
doc/ref/ChangeLog
doc/ref/api-compound.texi
doc/ref/api-control.texi
doc/ref/api-data.texi
doc/ref/api-modules.texi

index 969269e..b784eda 100644 (file)
@@ -1,3 +1,11 @@
+2006-09-04  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * api-control.texi (Dynamic Wind): Doc for scm_dynwind_free.
+
+       * api-modules.texi (The Guile module system), api-data.texi
+       (Integers, Numerical Tower), api-compound.texi (Uniform Numeric
+       Vectors): Fix typos.  (Patch sent in by Marco Maggi.)
+
 2006-08-29  Neil Jerram  <neil@ossau.uklinux.net>
 
        * api-debug.texi (Debug on Error): Added paragraph on need to use
index 3e1699a..44410d1 100644 (file)
@@ -1057,7 +1057,7 @@ being a @code{double}
 
 The external representation (ie.@: read syntax) for these vectors is
 similar to normal Scheme vectors, but with an additional tag from the
-tabel above indiciating the vector's type.  For example,
+table above indiciating the vector's type.  For example,
 
 @lisp
 #u16(1 2 3)
index 3d1549e..dbb51cf 100644 (file)
@@ -1356,6 +1356,13 @@ The function @code{scm_dynwind_rewind_handler_with_scm} takes care that
 @var{data} is protected from garbage collection.
 @end deftypefn
 
+@deftypefn {C Function} void scm_dynwind_free (void *mem)
+Arrange for @var{mem} to be freed automatically whenever the current
+context is exited, whether normally or non-locally.
+@code{scm_dynwind_free (mem)} is an equivalent shorthand for
+@code{scm_dynwind_unwind_handler (free, mem, SCM_F_WIND_EXPLICITLY)}.
+@end deftypefn
+
 
 @node Handling Errors
 @subsection How to Handle Errors
index 885f422..c0f5d08 100755 (executable)
@@ -227,8 +227,8 @@ rational is also real, and every real number is also a complex number
 In addition to the classification into integers, rationals, reals and
 complex numbers, Scheme also distinguishes between whether a number is
 represented exactly or not.  For example, the result of
-@m{2\sin(\pi/4),sin(pi/4)} is exactly @m{\sqrt{2},2^(1/2)} but Guile
-can neither represent @m{\pi/4,pi/4} nor @m{\sqrt{2},2^(1/2)} exactly.
+@m{2\sin(\pi/4),2*sin(pi/4)} is exactly @m{\sqrt{2},2^(1/2)}, but Guile
+can represent neither @m{\pi/4,pi/4} nor @m{\sqrt{2},2^(1/2)} exactly.
 Instead, it stores an inexact approximation, using the C type
 @code{double}.
 
@@ -477,7 +477,7 @@ the occupied space must be freed with @code{mpz_clear}.
 @xref{Initializing Integers,,, gmp, GNU MP Manual}, for details.
 @end deftypefn
 
-@deftypefn {C Function} SCM scm_from_mpz_t (mpz_t val)
+@deftypefn {C Function} SCM scm_from_mpz (mpz_t val)
 Return the @code{SCM} value that represents @var{val}.
 @end deftypefn
 
index 54e5f4b..c12e31d 100644 (file)
@@ -133,7 +133,7 @@ sets of bindings.
 
 In 1996 Tom Lord implemented a full-featured module system for Guile which
 allows loading Scheme source files into a private name space.  This system has
-been in available since at least Guile version 1.1.
+been available since at least Guile version 1.1.
 
 For Guile version 1.5.0 and later, the system has been improved to have better
 integration from C code, more fine-grained user control over interfaces, and