diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-23 12:44:35 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-23 12:44:35 +0000 |
commit | ab455f6077c4f8e6e59a143e82bbdc3535ce31e5 (patch) | |
tree | afc9043aeb19d9d4b2c841fbd83f62cb6aa9c76c /embed.h | |
parent | 8f230aaade04cc0342009803023a128cfec945a7 (diff) | |
download | perl-ab455f6077c4f8e6e59a143e82bbdc3535ce31e5.tar.gz |
Pass the (byte) length of the entire string into
utf8_mg_pos_cache_update()
Start to use the cache to store two pairs of byte/utf-8 pairs.
Add the first third of the cache update code.
p4raw-id: //depot/perl@27582
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3537,7 +3537,7 @@ #define sv_pos_u2b_forwards(a,b,c) S_sv_pos_u2b_forwards(aTHX_ a,b,c) #define sv_pos_u2b_midway(a,b,c,d) S_sv_pos_u2b_midway(aTHX_ a,b,c,d) #define sv_pos_u2b_cached(a,b,c,d,e,f,g) S_sv_pos_u2b_cached(aTHX_ a,b,c,d,e,f,g) -#define utf8_mg_pos_cache_update(a,b,c,d) S_utf8_mg_pos_cache_update(aTHX_ a,b,c,d) +#define utf8_mg_pos_cache_update(a,b,c,d,e) S_utf8_mg_pos_cache_update(aTHX_ a,b,c,d,e) #define sv_pos_b2u_forwards(a,b) S_sv_pos_b2u_forwards(aTHX_ a,b) #define sv_pos_b2u_midway(a,b,c,d) S_sv_pos_b2u_midway(aTHX_ a,b,c,d) #define stringify_regexp(a,b,c) S_stringify_regexp(aTHX_ a,b,c) |