Skip to content

Commit a61f650

Browse files
committed
Convert _toLOWER_utf8_flags to legal name
1 parent 3536926 commit a61f650

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

handy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,12 +2372,12 @@ END_EXTERN_C
23722372

23732373
/* For internal core use only, subject to change */
23742374
#define toFOLD_utf8_flags_(p,e,s,l,f) to_utf8_fold_flags_(p,e,s,l,f)
2375-
#define _toLOWER_utf8_flags(p,e,s,l,f) to_utf8_lower_flags_(p,e,s,l,f)
2375+
#define toLOWER_utf8_flags_(p,e,s,l,f) to_utf8_lower_flags_(p,e,s,l,f)
23762376
#define _toTITLE_utf8_flags(p,e,s,l,f) to_utf8_title_flags_(p,e,s,l,f)
23772377
#define _toUPPER_utf8_flags(p,e,s,l,f) to_utf8_upper_flags_(p,e,s,l,f)
23782378

23792379
#define toFOLD_utf8_safe(p,e,s,l) toFOLD_utf8_flags_(p,e,s,l, FOLD_FLAGS_FULL)
2380-
#define toLOWER_utf8_safe(p,e,s,l) _toLOWER_utf8_flags(p,e,s,l, 0)
2380+
#define toLOWER_utf8_safe(p,e,s,l) toLOWER_utf8_flags_(p,e,s,l, 0)
23812381
#define toTITLE_utf8_safe(p,e,s,l) _toTITLE_utf8_flags(p,e,s,l, 0)
23822382
#define toUPPER_utf8_safe(p,e,s,l) _toUPPER_utf8_flags(p,e,s,l, 0)
23832383

pp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4160,7 +4160,7 @@ PP_wrapped(pp_ucfirst, 1, 0)
41604160

41614161
#ifdef USE_LOCALE_CTYPE
41624162

4163-
_toLOWER_utf8_flags(s, s + slen, tmpbuf, &tculen, IN_LC_RUNTIME(LC_CTYPE));
4163+
toLOWER_utf8_flags_(s, s + slen, tmpbuf, &tculen, IN_LC_RUNTIME(LC_CTYPE));
41644164

41654165
/* In turkic locales, lower casing an 'I' normally yields U+0131,
41664166
* LATIN SMALL LETTER DOTLESS I, but not if the grapheme also
@@ -4192,7 +4192,7 @@ PP_wrapped(pp_ucfirst, 1, 0)
41924192
#else
41934193
PERL_UNUSED_VAR(remove_dot_above);
41944194

4195-
_toLOWER_utf8_flags(s, s + slen, tmpbuf, &tculen, 0);
4195+
toLOWER_utf8_flags_(s, s + slen, tmpbuf, &tculen, 0);
41964196
#endif
41974197

41984198
}
@@ -4873,7 +4873,7 @@ PP_wrapped(pp_lc, 1, 0)
48734873

48744874
#ifdef USE_LOCALE_CTYPE
48754875

4876-
_toLOWER_utf8_flags(s, send, tmpbuf, &ulen, IN_LC_RUNTIME(LC_CTYPE));
4876+
toLOWER_utf8_flags_(s, send, tmpbuf, &ulen, IN_LC_RUNTIME(LC_CTYPE));
48774877

48784878
/* If we are in a Turkic locale, we have to do more work. As noted
48794879
* in the comments for lcfirst, there is a special case if a 'I'
@@ -4882,7 +4882,7 @@ PP_wrapped(pp_lc, 1, 0)
48824882
* and set a flag if the DOT is there. Then each time through the
48834883
* loop, we have to see if we need to remove the next DOT above,
48844884
* and if so, do it. We know that there is a DOT because
4885-
* _toLOWER_utf8_flags() wouldn't have returned 'i' unless there
4885+
* toLOWER_utf8_flags_() wouldn't have returned 'i' unless there
48864886
* was one in a proper position. */
48874887
if ( UNLIKELY(IN_UTF8_TURKIC_LOCALE)
48884888
&& IN_LC_RUNTIME(LC_CTYPE))
@@ -4901,7 +4901,7 @@ PP_wrapped(pp_lc, 1, 0)
49014901
#else
49024902
PERL_UNUSED_VAR(remove_dot_above);
49034903

4904-
_toLOWER_utf8_flags(s, send, tmpbuf, &ulen, 0);
4904+
toLOWER_utf8_flags_(s, send, tmpbuf, &ulen, 0);
49054905
#endif
49064906

49074907
/* Here is where we would do context-sensitive actions for the

0 commit comments

Comments
 (0)