diff options
author | Karl Williamson <khw@cpan.org> | 2016-12-14 13:02:06 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-12-23 22:36:33 -0700 |
commit | 567b353c280f568f67de0e8d8b78d7abc7c931f7 (patch) | |
tree | 3ecaa2d443d7b2f2dc7329e56a5880647567f3bf /handy.h | |
parent | d4f48b064914f271411fb517d698b2d59bbbb6e3 (diff) | |
download | perl-567b353c280f568f67de0e8d8b78d7abc7c931f7.tar.gz |
For character case changing, create macros and use
This creates several macros that future commits will use to provide a
layer between the caller and the function.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1880,6 +1880,12 @@ _generic_utf8_safe(classnum, p, e, _is_utf8_FOO_with_len(classnum, p, e)) #define toTITLE_utf8(p,s,l) to_utf8_title(p,s,l) #define toUPPER_utf8(p,s,l) to_utf8_upper(p,s,l) +/* For internal core use only, subject to change */ +#define _toFOLD_utf8_flags(p,s,l,f) _to_utf8_fold_flags (p,s,l,f) +#define _toLOWER_utf8_flags(p,s,l,f) _to_utf8_lower_flags(p,s,l,f) +#define _toTITLE_utf8_flags(p,s,l,f) _to_utf8_title_flags(p,s,l,f) +#define _toUPPER_utf8_flags(p,s,l,f) _to_utf8_upper_flags(p,s,l,f) + /* For internal core Perl use only: the base macros for defining macros like * isALPHA_LC_utf8. These are like _generic_utf8, but if the first code point * in 'p' is within the 0-255 range, it uses locale rules from the passed-in |