summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-07-12 11:16:41 +0100
committerNicholas Clark <nick@ccl4.org>2010-07-12 13:43:19 +0100
commitec49a12ce17d116f4e9bda1c3d385aad560ec655 (patch)
tree25e993a1ef7d2d79564837a3cc4eb60501a52b7b /proto.h
parent634d6919699655c843f8d8c3ea64922d0403c499 (diff)
downloadperl-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 535dc78c37..6fc11dd80a 100644
--- a/proto.h
+++ b/proto.h
@@ -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);