diff options
author | Greg J. Badros <gjb@cs.washington.edu> | 2000-03-02 20:54:43 +0000 |
---|---|---|
committer | Greg J. Badros <gjb@cs.washington.edu> | 2000-03-02 20:54:43 +0000 |
commit | 7866a09b5b355ea277d2dd780b24e98f647329d4 (patch) | |
tree | 475d3833314d66222ba9773505eec1f0af7d3b01 /libguile/ramap.c | |
parent | e510ed373f315ca26f17be1ebe963c5c226a158e (diff) | |
download | guile-7866a09b5b355ea277d2dd780b24e98f647329d4.tar.gz |
* 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!
Diffstat (limited to 'libguile/ramap.c')
-rw-r--r-- | libguile/ramap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/ramap.c b/libguile/ramap.c index 9eef95f5d..f6e417f8a 100644 --- a/libguile/ramap.c +++ b/libguile/ramap.c @@ -439,13 +439,13 @@ scm_array_fill_int (SCM ra, SCM fill, SCM ignore) SCM_VELTS (ra)[i] = fill; break; case scm_tc7_string: - SCM_ASRTGO (SCM_ICHRP (fill), badarg2); + SCM_ASRTGO (SCM_CHARP (fill), badarg2); for (i = base; n--; i += inc) - SCM_CHARS (ra)[i] = SCM_ICHR (fill); + SCM_CHARS (ra)[i] = SCM_CHAR (fill); break; case scm_tc7_byvect: - if (SCM_ICHRP (fill)) - fill = SCM_MAKINUM ((char) SCM_ICHR (fill)); + if (SCM_CHARP (fill)) + fill = SCM_MAKINUM ((char) SCM_CHAR (fill)); SCM_ASRTGO (SCM_INUMP (fill) && -128 <= SCM_INUM (fill) && SCM_INUM (fill) < 128, badarg2); |