mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 23:50:47 +02:00
Move char-set-cursor implementation to Scheme
Also deprecate the C interface. * libguile/deprecated.h: * libguile/deprecated.c (scm_char_set_cursor): (scm_char_set_ref): (scm_char_set_cursor_next): (scm_end_of_char_set_p): Deprecate. * libguile/srfi-14.c (charset-mutable?, char-set-ranges) (charset-set-ranges!): New accessors, exposed internally to srfi-14.scm. * libguile/srfi-14.c (scm_boot_srfi_14): Remove scm_tc16_charset_cursor. * module/srfi/srfi-14.scm (<char-set-cursor>): Implement as a record.
This commit is contained in:
parent
4516119dd1
commit
7a1406891f
5 changed files with 182 additions and 158 deletions
|
@ -35,10 +35,6 @@ SCM_API SCM scm_char_set_p (SCM obj);
|
|||
SCM_API SCM scm_char_set_eq (SCM char_sets);
|
||||
SCM_API SCM scm_char_set_leq (SCM char_sets);
|
||||
SCM_API SCM scm_char_set_hash (SCM cs, SCM bound);
|
||||
SCM_API SCM scm_char_set_cursor (SCM cs);
|
||||
SCM_API SCM scm_char_set_ref (SCM cs, SCM cursor);
|
||||
SCM_API SCM scm_char_set_cursor_next (SCM cs, SCM cursor);
|
||||
SCM_API SCM scm_end_of_char_set_p (SCM cursor);
|
||||
SCM_API SCM scm_char_set_fold (SCM kons, SCM knil, SCM cs);
|
||||
SCM_API SCM scm_char_set_unfold (SCM p, SCM f, SCM g, SCM seed, SCM base_cs);
|
||||
SCM_API SCM scm_char_set_unfold_x (SCM p, SCM f, SCM g, SCM seed, SCM base_cs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue