diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-11-08 22:16:39 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-11-08 22:38:39 -0700 |
commit | a1dde8dee0a7efc73bdb7c985e74f1461e153f12 (patch) | |
tree | 37d8d55f6094d3437a7b264f9614f3952fce73fc /embed.h | |
parent | f26f1b9ce33a811c1a4ea00612a18101543a46fd (diff) | |
download | perl-a1dde8dee0a7efc73bdb7c985e74f1461e153f12.tar.gz |
utf8.c: Faster latin1 folding
This adds a function similar to the ones for the other three case
changing operations that works on latin1 characters only, and avoids
having to go out to swashes. It changes to_uni_fold() and
to_utf8_fold() to call it on the appropriate input
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1571,6 +1571,7 @@ #define isa_lookup(a,b,c,d) S_isa_lookup(aTHX_ a,b,c,d) # endif # if defined(PERL_IN_UTF8_C) +#define _to_fold_latin1(a,b,c,d) Perl__to_fold_latin1(aTHX_ a,b,c,d) #define _to_upper_title_latin1(a,b,c,d) Perl__to_upper_title_latin1(aTHX_ a,b,c,d) #define is_utf8_char_slow S_is_utf8_char_slow #define is_utf8_common(a,b,c) S_is_utf8_common(aTHX_ a,b,c) |