summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-25 11:34:27 -0600
committerKarl Williamson <khw@cpan.org>2021-08-07 05:14:43 -0600
commit7bf011a13027d25777e5d934629cb489812d20c9 (patch)
treef366c5ff3ad721d4b24dd159ec01533a8c5679ae /pp_hot.c
parente77f0df2059f11f53c064920dbb65a20c4d18c9f (diff)
downloadperl-7bf011a13027d25777e5d934629cb489812d20c9.tar.gz
utf8.h: Add macro to compute UV skip by its log2
This macro will calculate at compile time, if passed a compile-time constant, how many UTF-8 bytes are required to represent the parameter. The macro is a helper which works fine except for edge cases, which a wrapper is needed to handle. The commit changes one instance to use this new macro
Diffstat (limited to 'pp_hot.c')
0 files changed, 0 insertions, 0 deletions