summaryrefslogtreecommitdiff
path: root/module/system
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2022-02-06 20:21:16 +0100
committerAndy Wingo <wingo@pobox.com>2022-02-06 21:17:24 +0100
commit2f9bc7fe61d39658a24a15526b7b88bbd184961b (patch)
tree181a1e25f1f8091acd5c86d5ab9f1f45764405ce /module/system
parent7e3470343ad9ef496d7f2f7b327b81cd4c729d36 (diff)
downloadguile-2f9bc7fe61d39658a24a15526b7b88bbd184961b.tar.gz
Update unicode tables to Unicode 14.0.0; initial charsets immutable
* libguile/srfi-14.i.c: Update from Unicode 14.0.0. * libguile/unidata_to_charset.pl (compute): Write arrays as static const data, to avoid polluting the namespace and to avoid adding these to the GC root set. * libguile/srfi-14.c (SCM_CODEPOINT_F_IMMUTABLE): New flag. (scm_charset_is_immutable): New internal predicate. (SCM_VALIDATE_MUTABLE_CHARSET): New internal validator. (cs_full_ranges, cs_full_ranges_len): Re-express as separate ranges and len, because the ranges pointer in scm_t_char_set is mutable. (scm_char_set_unfold_x, scm_list_to_char_set_x) (scm_string_to_char_set_x, scm_char_set_filter_x) (scm_i_ucs_range_to_char_set, scm_char_set_adjoin_x) (scm_char_set_delete_x, scm_char_set_complement_x) (scm_char_set_unfold_x, scm_char_set_intersection_x) (scm_char_set_difference_x, scm_char_set_xor_x): Require mutable charsets. (define_charset): Add immutable flag. (scm_init_srfi_14): Adapt initial charset definitions.
Diffstat (limited to 'module/system')
0 files changed, 0 insertions, 0 deletions