diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-07-12 11:16:41 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-07-12 13:43:19 +0100 |
commit | ec49a12ce17d116f4e9bda1c3d385aad560ec655 (patch) | |
tree | 25e993a1ef7d2d79564837a3cc4eb60501a52b7b /proto.h | |
parent | 634d6919699655c843f8d8c3ea64922d0403c499 (diff) | |
download | perl-ec49a12ce17d116f4e9bda1c3d385aad560ec655.tar.gz |
Break S_utf8_mg_len_cache_update() out from Perl_sv_len_utf8().
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5835,6 +5835,12 @@ STATIC STRLEN S_sv_pos_u2b_cached(pTHX_ SV *const sv, MAGIC **const mgp, const U #define PERL_ARGS_ASSERT_SV_POS_U2B_CACHED \ assert(sv); assert(mgp); assert(start); assert(send) +STATIC void S_utf8_mg_len_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN ulen) + __attribute__nonnull__(pTHX_1) + __attribute__nonnull__(pTHX_2); +#define PERL_ARGS_ASSERT_UTF8_MG_LEN_CACHE_UPDATE \ + assert(sv); assert(mgp) + STATIC void S_utf8_mg_pos_cache_update(pTHX_ SV *const sv, MAGIC **const mgp, const STRLEN byte, const STRLEN utf8, const STRLEN blen) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); |