This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
error in data-rep.texi regarding SCM_MAKICHR
- To: guile at sourceware dot cygnus dot com
- Subject: error in data-rep.texi regarding SCM_MAKICHR
- From: "Richard Y. Kim" <ryk at coho dot net>
- Date: Sat, 22 Jan 2000 22:50:06 -0800 (PST)
- CC: ryk at coho dot net
- Reply-To: ryk at coho dot net
I was reading guile-doc/sources/data-rep.texi to learn about guile. I
believe I found a minor typo in this very informative document for
someone new to scheme implementations.
Starting at line 563 of guile-doc/sources/data-rep.texi (which I got
via anonymous cvs a few hours ago) are the following:
@deftypefn Macro SCM SCM_MAKICHR (SCM @var{c})
Given a C character @var{c}, return its representation as a Scheme
character value.
@end deftypefn
It seems to me that the argument type should be either 'int' or 'char'
rather than 'SCM'. I searched for all use of SCM_MAKICHR in
guile-core/libguile directory. In all cases that I examined, the
argument to SCM_MAKICHR was either 'char', 'int' or 'SCM_INUM(x)'. It
was never an 'SCM'.