diff options
author | Karl Williamson <khw@cpan.org> | 2021-05-09 15:14:11 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-23 08:02:35 -0600 |
commit | 7b47c6158ac7e52929a1470911ccb63053ba2193 (patch) | |
tree | e7a6434b5e66d0a79283fbf1cf4544b5bfe533b2 /embed.fnc | |
parent | 1eafd03a33c365ad3be74989a885579387eebb0b (diff) | |
download | perl-7b47c6158ac7e52929a1470911ccb63053ba2193.tar.gz |
utf8.c: Split a static fcn
This adds a new function for changing the case of an input code point.
The difference between this and the existing function is that the new
one returns an array of UVs instead of a combination of the first code
point and UTF-8 of the whole thing, a somewhat awkward API that made
more sense when we used swashes. That function is retained for now, at
least, but most of the work is done in the new function.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2499,6 +2499,14 @@ S |void |warn_on_first_deprecated_use \ |NN const char * const file \ |const unsigned line #endif +S |UV |to_case_cp_list|const UV original \ + |NN const U32 ** const remaining_list \ + |NN Size_t * remaining_count \ + |NN SV *invlist \ + |NN const I32 * const invmap \ + |NULLOK const U32 * const * const aux_tables \ + |NULLOK const U8 * const aux_table_lengths \ + |NN const char * const normal S |UV |_to_utf8_case |const UV original \ |NULLOK const U8 *p \ |NN U8* ustrp \ |