diff options
author | Karl Williamson <khw@cpan.org> | 2019-12-27 13:18:58 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-01-03 21:55:15 -0700 |
commit | 40d2776f3505d22a2b1309ae2c3bf28bcb1d9016 (patch) | |
tree | c7614c8f5a3e010b066a52b9875f72bed7b867f2 /embed.fnc | |
parent | b28d5df592d869103f5066f2b1cb96a039a25057 (diff) | |
download | perl-40d2776f3505d22a2b1309ae2c3bf28bcb1d9016.tar.gz |
Change some structures/fcns to use I32 and U32
This is because these deal with only legal Unicode code points, which
are restricted to 21 bits, so 16 is too few, but 32 is sufficient to
hold them. Doing this saves some space/memory on 64 bit builds where an
int is 64 bits.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1986,8 +1986,8 @@ S |UV |_to_utf8_case |const UV uv1 \ |NN U8* ustrp \ |NN STRLEN *lenp \ |NN SV *invlist \ - |NN const int * const invmap \ - |NULLOK const unsigned int * const * const aux_tables \ + |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 |turkic_fc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp @@ -2085,7 +2085,7 @@ Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim| ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags EXpR |Size_t |_inverse_folds |const UV cp \ |NN unsigned int * first_folds_to \ - |NN const unsigned int ** remaining_folds_to + |NN const U32 ** remaining_folds_to : Used by Data::Alias EXp |void |vivify_defelem |NN SV* sv : Used in pp.c |