Skip to content

Commit f48864d

Browse files
committed
Convert _is_utf8_FOO to legal name
1 parent 493b1bb commit f48864d

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

embed.fnc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ ATdip |bool |is_utf8_fixed_width_buf_loclen_flags \
17571757
|NULLOK const U8 **ep \
17581758
|NULLOK STRLEN *el \
17591759
|const U32 flags
1760-
CRp |bool |_is_utf8_FOO |const U8 classnum \
1760+
CRp |bool |is_utf8_FOO_ |const U8 classnum \
17611761
|NN const U8 *p \
17621762
|NN const U8 * const e
17631763
ARTdip |bool |is_utf8_invariant_string_loc \

embed.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
# define SvTRUE_nomg(a) Perl_SvTRUE_nomg(aTHX_ a)
117117
# define SvUV(a) Perl_SvUV(aTHX_ a)
118118
# define SvUV_nomg(a) Perl_SvUV_nomg(aTHX_ a)
119-
# define _is_utf8_FOO(a,b,c) Perl__is_utf8_FOO(aTHX_ a,b,c)
120119
# define amagic_call(a,b,c,d) Perl_amagic_call(aTHX_ a,b,c,d)
121120
# define amagic_deref_call(a,b) Perl_amagic_deref_call(aTHX_ a,b)
122121
# define apply_attrs_string(a,b,c,d) Perl_apply_attrs_string(aTHX_ a,b,c,d)
@@ -323,6 +322,7 @@
323322
# define is_uni_perl_idcont_(a) Perl_is_uni_perl_idcont_(aTHX_ a)
324323
# define is_uni_perl_idstart_(a) Perl_is_uni_perl_idstart_(aTHX_ a)
325324
# define is_utf8_FF_helper_ Perl_is_utf8_FF_helper_
325+
# define is_utf8_FOO_(a,b,c) Perl_is_utf8_FOO_(aTHX_ a,b,c)
326326
# define Perl_is_utf8_char_buf is_utf8_char_buf
327327
# define is_utf8_char_helper_ Perl_is_utf8_char_helper_
328328
# define Perl_is_utf8_fixed_width_buf_flags is_utf8_fixed_width_buf_flags

handy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,7 @@ END_EXTERN_C
22772277
/* Like the above, but passes classnum to _isFOO_utf8(), instead of having an
22782278
* 'above_latin1' parameter */
22792279
#define generic_invlist_utf8_safe_(classnum, p, e) \
2280-
generic_utf8_safe_(classnum, p, e, _is_utf8_FOO(classnum, p, e))
2280+
generic_utf8_safe_(classnum, p, e, is_utf8_FOO_(classnum, p, e))
22812281

22822282
/* Like the above, but should be used only when it is known that there are no
22832283
* characters in the upper-Latin1 range (128-255 on ASCII platforms) which the
@@ -2332,7 +2332,7 @@ END_EXTERN_C
23322332

23332333
#define isDIGIT_utf8_safe(p, e) \
23342334
generic_utf8_safe_no_upper_latin1_(CC_DIGIT_, p, e, \
2335-
_is_utf8_FOO(CC_DIGIT_, p, e))
2335+
is_utf8_FOO_(CC_DIGIT_, p, e))
23362336
#define isGRAPH_utf8_safe(p, e) generic_invlist_utf8_safe_(CC_GRAPH_, p, e)
23372337
#define isIDCONT_utf8_safe(p, e) generic_func_utf8_safe_(CC_WORDCHAR_, \
23382338
is_utf8_perl_idcont_, p, e)
@@ -2416,7 +2416,7 @@ END_EXTERN_C
24162416

24172417
#define generic_LC_invlist_utf8_safe_(macro, classnum, p, e) \
24182418
generic_LC_utf8_safe_(macro, p, e, \
2419-
_is_utf8_FOO(classnum, p, e))
2419+
is_utf8_FOO_(classnum, p, e))
24202420

24212421
#define generic_LC_func_utf8_safe_(macro, above_latin1, p, e) \
24222422
generic_LC_utf8_safe_(macro, p, e, above_latin1(p, e))

proto.h

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utf8.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3906,9 +3906,9 @@ S_warn_on_first_deprecated_use(pTHX_ U32 category,
39063906
_invlist_contains_cp(invlist, utf8_to_uv_or_die(p, e, NULL))
39073907

39083908
bool
3909-
Perl__is_utf8_FOO(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
3909+
Perl_is_utf8_FOO_(pTHX_ const U8 classnum, const U8 *p, const U8 * const e)
39103910
{
3911-
PERL_ARGS_ASSERT__IS_UTF8_FOO;
3911+
PERL_ARGS_ASSERT_IS_UTF8_FOO_;
39123912

39133913
return IS_UTF8_IN_INVLIST(p, e, PL_XPosix_ptrs[classnum]);
39143914
}

0 commit comments

Comments
 (0)