mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
fix a bug in the tutorial
* doc/tutorial/guile-tut.texi (c_builtins.c): Fix a typo with an undeclared variable. Thanks to Raimon Grau for the pointer. This tutorial is quite out of date, though...
This commit is contained in:
parent
04af4c4c52
commit
3ef9fa53f9
2 changed files with 3 additions and 1 deletions
1
THANKS
1
THANKS
|
@ -50,6 +50,7 @@ For fixes or providing information which led to a fix:
|
||||||
Panicz Maciej Godek
|
Panicz Maciej Godek
|
||||||
John Goerzen
|
John Goerzen
|
||||||
Mike Gran
|
Mike Gran
|
||||||
|
Raimon Grau
|
||||||
Szavai Gyula
|
Szavai Gyula
|
||||||
Roland Haeder
|
Roland Haeder
|
||||||
Sven Hartrumpf
|
Sven Hartrumpf
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@vskip 0pt plus 1filll
|
@vskip 0pt plus 1filll
|
||||||
Copyright @copyright{} 1997, 1998, 2004, 2006 Free Software Foundation
|
Copyright @copyright{} 1997, 1998, 2004, 2006, 2010 Free Software Foundation
|
||||||
|
|
||||||
Permission is granted to make and distribute verbatim copies of
|
Permission is granted to make and distribute verbatim copies of
|
||||||
this manual provided the copyright notice and this permission notice
|
this manual provided the copyright notice and this permission notice
|
||||||
|
@ -1203,6 +1203,7 @@ SCM c_sin(SCM s_x)
|
||||||
SCM vector_test(SCM s_length)
|
SCM vector_test(SCM s_length)
|
||||||
@{
|
@{
|
||||||
SCM xvec;
|
SCM xvec;
|
||||||
|
unsigned long c_length;
|
||||||
|
|
||||||
c_length = gh_scm2ulong(s_length);
|
c_length = gh_scm2ulong(s_length);
|
||||||
printf("requested length for vector: %ld\n", gh_scm2ulong(s_length));
|
printf("requested length for vector: %ld\n", gh_scm2ulong(s_length));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue