diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-11-08 18:55:09 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-11-08 22:38:38 -0700 |
commit | afc16117342e69d725e9609816ad29f611edb5a5 (patch) | |
tree | 33fe89eea3edaaf70b06a7b01c47dc75d19d59d9 /embed.fnc | |
parent | 50bda2c32d66573a5367b7d0d5a1d287d766b811 (diff) | |
download | perl-afc16117342e69d725e9609816ad29f611edb5a5.tar.gz |
utf8.c: Refactor to_uni_lower()
The portion that deals with Latin1 range characters is refactored into a
separate (static) function, so that it can be called from more than one place.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -600,6 +600,9 @@ ApPR |bool |is_uni_punct |UV c ApPR |bool |is_uni_xdigit |UV c Ap |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp Ap |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp +#ifdef PERL_IN_UTF8_C +sR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp +#endif Ap |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp Amp |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp AMp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags |