mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
* 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.)
This commit is contained in:
parent
1d69880461
commit
237788d2a2
5 changed files with 20 additions and 5 deletions
|
@ -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 Kevin Ryde <user42@zip.com.au>
|
||||
|
||||
* api-control.texi (Dynamic Wind): Reformat example a bit to avoid
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1357,6 +1357,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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue