mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
* list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
added append docs from R4RS. * strings.c: Docstring typo fix, + eliminate unneeded IMP tests. Thanks Dirk Hermann! * chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann! * *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout. Drop use of SCM_P for function prototypes... assume an ANSI C compiler. Thanks Dirk Hermann!
This commit is contained in:
parent
e510ed373f
commit
7866a09b5b
79 changed files with 939 additions and 938 deletions
|
@ -120,7 +120,7 @@ SCM_DEFINE (scm_read_delimited_x, "%read-delimited!", 3, 3, 0,
|
|||
if (SCM_FALSEP (gobble))
|
||||
scm_ungetc (c, port);
|
||||
|
||||
return scm_cons (SCM_MAKICHR (c),
|
||||
return scm_cons (SCM_MAKE_CHAR (c),
|
||||
scm_long2num (j - cstart));
|
||||
}
|
||||
}
|
||||
|
@ -257,7 +257,7 @@ SCM_DEFINE (scm_read_line, "%read-line", 0, 1, 0,
|
|||
{
|
||||
if (s[slen-1] == '\n')
|
||||
{
|
||||
term = SCM_MAKICHR ('\n');
|
||||
term = SCM_MAKE_CHAR ('\n');
|
||||
s[slen-1] = '\0';
|
||||
line = scm_take_str (s, slen-1);
|
||||
scm_done_malloc (-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue