1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00
guile/module
Andreas Rottmann a6c377f7d8 Add get-string-n' and get-string-n!' for R6RS ports
* libguile/r6rs-ports.c (scm_get_string_n_x): Implement `get-string-n!'
  in C for efficiency.
* libguile/r6rs-ports.h: Add prototype for this function.
* module/ice-9/binary-ports.scm: Export `get-string-n!'.

* module/rnrs/io/ports.scm (get-string-n): Implement based on
  `get-string-n!'.
  Export both `get-string-n!' and `get-string-n'.
* module/rnrs.scm: Also export these.

* test-suite/tests/r6rs-ports.test (8.2.9 Textual input): Add a few
  tests for `get-string-n' and `get-string-n!'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2011-03-13 22:39:14 +01:00
..
ice-9 Add get-string-n' and get-string-n!' for R6RS ports 2011-03-13 22:39:14 +01:00
language fix-letrec tweaks 2011-03-09 22:38:11 +01:00
oop Allow GOOPS getters to add methods to primitive generics 2011-02-14 20:33:11 +01:00
rnrs Add get-string-n' and get-string-n!' for R6RS ports 2011-03-13 22:39:14 +01:00
scripts Add `*current-warning-prefix*'. 2011-02-13 19:13:36 +01:00
srfi Fix `define-inlinable' in SRFI-9 so that arguments are evaluated only once. 2011-03-11 21:02:30 +01:00
sxml sxml->xml fix 2010-12-02 22:24:26 +01:00
system Work around weak-value hash table bug in `define-wrapped-pointer-type'. 2011-03-13 16:09:55 +01:00
texinfo stexi->shtml supports itemx 2011-01-25 17:59:45 +01:00
web web server more assiduous about closing ports 2011-02-24 11:10:49 +01:00
Makefile.am add ice-9 eval-string 2011-03-05 23:16:11 +01:00
rnrs.scm Add get-string-n' and get-string-n!' for R6RS ports 2011-03-13 22:39:14 +01:00
statprof.scm remove a number of debug options 2010-09-24 20:57:01 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00