summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-08 22:16:39 -0700
committerKarl Williamson <public@khwilliamson.com>2011-11-08 22:38:39 -0700
commita1dde8dee0a7efc73bdb7c985e74f1461e153f12 (patch)
tree37d8d55f6094d3437a7b264f9614f3952fce73fc /embed.h
parentf26f1b9ce33a811c1a4ea00612a18101543a46fd (diff)
downloadperl-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 3d985b5f82..8540031730 100644
--- a/embed.h
+++ b/embed.h
@@ -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)