Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
5de39a2
sbox32_hash.h: Use legal C symbol names
khwilliamson Aug 14, 2025
f6fcc0a
util.c: Convert _SV_LOG_SERIAL_ARG to legal name
khwilliamson Aug 14, 2025
826df9c
util.c: Convert _rand48_(mult|add) to legal names
khwilliamson Aug 14, 2025
698c2ee
pad.h: Convert _PADNAME_BASE to legal name
khwilliamson Aug 14, 2025
9c726a7
pp.h: Convert _EXTEND_SAFE_N to legal name
khwilliamson Aug 14, 2025
d3db403
pp.h: Convert _EXTEND_NEEDS_GROW to legal name
khwilliamson Aug 14, 2025
6170420
pack.c: Convert _action to legal name
khwilliamson Aug 14, 2025
de709d5
class.c. Convert _arg to legal name
khwilliamson Aug 14, 2025
65a09b5
class.c. Convert _nOnclAshIngNamE_ to legal name
khwilliamson Aug 14, 2025
735f77b
hv_macro.h. Convert _shifted_octet to legal name
khwilliamson Aug 14, 2025
1b40691
hv_macro.h. Convert _dv to legal name
khwilliamson Aug 14, 2025
35c1b61
regcomp_internal.h. Convert _FAIL to legal name
khwilliamson Aug 14, 2025
4b821d1
regcomp_internal.h. Convert _WARN_HELPER to legal name
khwilliamson Aug 14, 2025
db93217
regexec.c. Convert _generic_GET_BREAK_VAL_CP_CHECKED to legal name
khwilliamson Aug 14, 2025
690636c
regexec.c. Convert _generic_GET_BREAK_VAL_CP_ to legal name
khwilliamson Aug 14, 2025
6ef454f
regexec.c. Convert _generic_GET_BREAK_VAL_UTF8_ to legal name
khwilliamson Aug 14, 2025
808d0a6
regexec.c. Convert _pm_setre to legal name
khwilliamson Aug 14, 2025
02fa60d
op_reg*.h. Convert _RXm_PMf_SHIFT_NEXT to legal name
khwilliamson Aug 14, 2025
bcf8f93
op_reg_common.h: Convert _RXf_PMf_CHARSET_SHIFT to legal name
khwilliamson Aug 14, 2025
daea3ee
op_reg_common.h: Convert _RXf_PMf_COMPILETIME to legal name
khwilliamson Aug 14, 2025
3c58efa
op_reg_common.h: Convert _o to legal name
khwilliamson Aug 14, 2025
fd25177
regexp.h: Convert _rerefcnt_inc to legal name
khwilliamson Aug 14, 2025
aca339f
regexp.h: Convert _rerefcnt_dec to legal name
khwilliamson Aug 14, 2025
078590c
regcomp.h: Convert _reg_trie_trans to legal name
khwilliamson Aug 14, 2025
dd9f7eb
regcomp.h: Convert _reg_trie_trans_list_elem to legal name
khwilliamson Aug 14, 2025
fe9fe2d
regcomp.h: Convert _reg_trie_state to legal name
khwilliamson Aug 14, 2025
ca34106
regcomp.h: Convert _reg_trie_data to legal name
khwilliamson Aug 14, 2025
268bdca
regcomp.h: Convert _reg_ac_data to legal name
khwilliamson Aug 14, 2025
a1e0eb4
regcomp_trie.c. Convert _eC to legal name
khwilliamson Aug 14, 2025
5c4e3db
Convert _byte_dump_string() to legal name
khwilliamson Aug 14, 2025
3869d81
gv.h: Convert _gvgp to legal name
khwilliamson Aug 14, 2025
39b9276
gv.h: Convert _gvflags to legal name
khwilliamson Aug 14, 2025
d1fd1f6
gv.h: Convert _gvstash to legal name
khwilliamson Aug 14, 2025
d37cfed
gv.h: Convert _gvname_hek to legal name
khwilliamson Aug 14, 2025
2a62885
gv.h: Convert _xhvnameu to legal name
khwilliamson Aug 14, 2025
620b131
perl.h: Convert _restore_LC_NUMERIC_function to legal name
khwilliamson Aug 14, 2025
fa732cb
perl.h: Convert _in_lc_numeric to legal name
khwilliamson Aug 14, 2025
f2395ee
Convert _to_uni_fold_flags to legal name
khwilliamson Aug 14, 2025
197a325
Convert _inverse_folds to legal name
khwilliamson Aug 14, 2025
a8205d2
Convert _toFOLD_utf8_flags to legal name
khwilliamson Aug 14, 2025
89971f3
Convert _tofold_latin1 to legal name
khwilliamson Aug 14, 2025
a8bd929
onvert _to_utf8_fold_flags to legal name
khwilliamson Aug 15, 2025
4a9958c
Convert _to_utf8_lower_flags to legal name
khwilliamson Aug 15, 2025
9b55195
Convert _to_upper_title_latin1 to legal name
khwilliamson Aug 14, 2025
02158ac
Convert _to_utf8_title_flags to legal name
khwilliamson Aug 14, 2025
90faf47
Convert _to_utf8_upper_flags to legal name
khwilliamson Aug 14, 2025
d5a3c87
Convert _to_utf8_case to legal name
khwilliamson Aug 14, 2025
00f41c4
Convert _is_uni_perl_idstart to legal name
khwilliamson Aug 15, 2025
bb70bee
Convert _is_utf8_perl_idstart to legal name
khwilliamson Aug 15, 2025
71dac19
Convert _is_uni_perl_idcont to legal name
khwilliamson Aug 15, 2025
1b402a6
Convert _is_utf8_perl_idcont to legal name
khwilliamson Aug 15, 2025
1161aa1
Convert _is_uni_FOO to legal name
khwilliamson Aug 14, 2025
e81a0a9
Convert _is_utf8_FOO to legal name
khwilliamson Aug 14, 2025
1668672
Convert _utf8_safe_assert to legal name
khwilliamson Aug 14, 2025
54f3f4e
Convert _toLOWER_utf8_flags to legal name
khwilliamson Aug 15, 2025
122894f
Convert _toTITLE_utf8_flags to legal name
khwilliamson Aug 14, 2025
5e724d3
Convert _toUPPER_utf8_flags to legal name
khwilliamson Aug 14, 2025
8ace9e8
Convert _PERL_STRLEN_ROUNDUP_UNCHECKED to legal name
khwilliamson Aug 14, 2025
1164967
Convert _MEM_WRAP_NEEDS_RUNTIME_CHECK to legal name
khwilliamson Aug 14, 2025
33cabb8
Convert _MEM_WRAP_WILL_WRAP to legal name
khwilliamson Aug 14, 2025
73a31b6
pp_ctl.c Convert _arg to legal name
khwilliamson Aug 14, 2025
070f159
pp_ctl.c Convert _invoke_defer_block to legal name
khwilliamson Aug 14, 2025
9edca40
sv.h Convert _crash to legal name
khwilliamson Aug 14, 2025
5066480
sv.h Convert _bonk to legal name
khwilliamson Aug 14, 2025
8f0f0f8
sv.h Convert _bmuseful to legal name
khwilliamson Aug 14, 2025
0941323
sv.h Convert _lEnGtH to legal name
khwilliamson Aug 14, 2025
c210ddb
sv.h Convert _svpvx to legal name
khwilliamson Aug 14, 2025
aaf1b35
sv.h Convert _svcur to legal name
khwilliamson Aug 14, 2025
2eeac2e
sv.h Convert _svivx to legal name
khwilliamson Aug 14, 2025
ac7a3a8
sv.h Convert _svrv to legal name
khwilliamson Aug 14, 2025
c6008db
sv.h Convert _svmagic to legal name
khwilliamson Aug 14, 2025
ed84f45
sv.h Convert _svstash to legal name
khwilliamson Aug 14, 2025
2ca7eab
sv.h Convert _svuvx to legal name
khwilliamson Aug 14, 2025
a2bff4c
sv.h Convert _svnvx to legal name
khwilliamson Aug 14, 2025
5e02639
sv.h Convert _svtail to legal name
khwilliamson Aug 14, 2025
04668fd
sv.h Convert _svvalid to legal name
khwilliamson Aug 14, 2025
7ab787c
sv.h Convert _xivu to legal name
khwilliamson Aug 14, 2025
537f3c5
Convert union _xmgu to legal name
khwilliamson Aug 14, 2025
93cf6a5
sv.h Convert _xnvu to legal name
khwilliamson Aug 14, 2025
9834098
sv.h Convert _NV_BODYLESS_UNION to legal name
khwilliamson Aug 14, 2025
cbd4edb
sv.h Convert _SV_HEAD_DEBUG to legal name
khwilliamson Aug 14, 2025
9693fc5
sv.h Convert _SV_HEAD_UNION to legal name
khwilliamson Aug 14, 2025
cf1b587
sv.h Convert _SV_HEAD to legal name
khwilliamson Aug 14, 2025
ca14aeb
Convert _XPVCV_COMMON to legal name
khwilliamson Aug 14, 2025
9bb5d97
Convert _XPVCV_HEAD to legal name
khwilliamson Aug 14, 2025
a58c84d
Convert _XPVMG_HEAD to legal name
khwilliamson Aug 14, 2025
8b2de44
dump.c: Convert _pv_display_for_dump to legal name
khwilliamson Aug 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion av.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

struct xpvav {
HV* xmg_stash; /* class package */
union _xmgu xmg_u;
union xmgu_ xmg_u;
SSize_t xav_fill; /* Index of last element present */
SSize_t xav_max; /* max index for which array has space */
SV** xav_alloc; /* pointer to beginning of C array of SVs */
Expand Down
4 changes: 2 additions & 2 deletions class.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@ PP(pp_methstart)
}

static void
invoke_class_seal(pTHX_ void *_arg)
invoke_class_seal(pTHX_ void *arg_)
{
class_seal_stash((HV *)_arg);
class_seal_stash((HV *)arg_);
}

void
Expand Down
8 changes: 4 additions & 4 deletions cop.h
Original file line number Diff line number Diff line change
Expand Up @@ -1398,8 +1398,8 @@ See L<perlcall/LIGHTWEIGHT CALLBACKS>.
#define PUSH_MULTICALL_FLAGS(the_cv, flags) \
STMT_START { \
PERL_CONTEXT *cx; \
CV * const _nOnclAshIngNamE_ = the_cv; \
CV * const cv = _nOnclAshIngNamE_; \
CV * const nOnclAshIngNamE_ = the_cv; \
CV * const cv = nOnclAshIngNamE_; \
PADLIST * const padlist = CvPADLIST(cv); \
multicall_oldcatch = CATCH_GET; \
CATCH_SET(TRUE); \
Expand Down Expand Up @@ -1442,8 +1442,8 @@ See L<perlcall/LIGHTWEIGHT CALLBACKS>.

#define CHANGE_MULTICALL_FLAGS(the_cv, flags) \
STMT_START { \
CV * const _nOnclAshIngNamE_ = the_cv; \
CV * const cv = _nOnclAshIngNamE_; \
CV * const nOnclAshIngNamE_ = the_cv; \
CV * const cv = nOnclAshIngNamE_; \
PADLIST * const padlist = CvPADLIST(cv); \
PERL_CONTEXT *cx = CX_CUR(); \
assert(CxMULTICALL(cx)); \
Expand Down
4 changes: 2 additions & 2 deletions cv.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
/* This structure must match the beginning of XPVFM in sv.h */

struct xpvcv {
_XPV_HEAD;
_XPVCV_COMMON;
XPV_HEAD_;
XPVCV_COMMON_;
};

/*
Expand Down
8 changes: 4 additions & 4 deletions dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ S_append_flags(pTHX_ SV *sv, U32 flags, const struct flag_to_name *start,
PERL_PV_ESCAPE_NONASCII | PERL_PV_ESCAPE_DWIM \
| ((utf8) ? PERL_PV_ESCAPE_UNI : 0) )

#define _pv_display_for_dump(dsv, pv, cur, len, pvlim) \
#define pv_display_for_dump(dsv, pv, cur, len, pvlim) \
pv_display_flags(dsv, pv, cur, len, pvlim, PERL_PV_ESCAPE_DWIM_ALL_HEX)

/*
Expand Down Expand Up @@ -2438,7 +2438,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
PTR2UV(ptr));
if (SvOOK(sv)) {
PerlIO_printf(file, "( %s . ) ",
_pv_display_for_dump(d, ptr - delta, delta, 0,
pv_display_for_dump(d, ptr - delta, delta, 0,
pvlim));
}
if (type == SVt_INVLIST) {
Expand All @@ -2447,7 +2447,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
_invlist_dump(file, level, " ", sv);
}
else {
PerlIO_printf(file, "%s", _pv_display_for_dump(d, ptr, SvCUR(sv),
PerlIO_printf(file, "%s", pv_display_for_dump(d, ptr, SvCUR(sv),
re ? 0 : SvLEN(sv),
pvlim));
if (SvUTF8(sv)) /* the 6? \x{....} */
Expand Down Expand Up @@ -2749,7 +2749,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
keypv = SvPV_const(keysv, len);
elt = HeVAL(he);

Perl_dump_indent(aTHX_ level+1, file, "Elt %s ", _pv_display_for_dump(d, keypv, len, 0, pvlim));
Perl_dump_indent(aTHX_ level+1, file, "Elt %s ", pv_display_for_dump(d, keypv, len, 0, pvlim));
if (SvUTF8(keysv))
PerlIO_printf(file, "[UTF8 \"%s\"] ", sv_uni_display(d, keysv, 6 * SvCUR(keysv), UNI_DISPLAY_QQ));
if (HvEITER_get(hv) == he)
Expand Down
38 changes: 19 additions & 19 deletions embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ p |OP * |build_infix_plugin \
|NN OP *lhs \
|NN OP *rhs \
|NN void *tokendata
EXp |const char *|_byte_dump_string \
EXp |const char *|byte_dump_string_ \
|NULLOK const U8 * const start \
|const STRLEN len \
|const bool format
Expand Down Expand Up @@ -1665,7 +1665,7 @@ p |void |init_uniprops
APRTdmp |char * |instr |NN const char *big \
|NN const char *little
Adp |U32 |intro_my
ERXp |Size_t |_inverse_folds |const UV cp \
ERXp |Size_t |inverse_folds_ |const UV cp \
|NN U32 *first_folds_to \
|NN const U32 **remaining_folds_to
: Used in perly.y
Expand Down Expand Up @@ -1719,11 +1719,11 @@ ATdip |bool |is_strict_utf8_string_loclen \
|STRLEN len \
|NULLOK const U8 **ep \
|NULLOK STRLEN *el
CRp |bool |_is_uni_FOO |const U8 classnum \
CRp |bool |is_uni_FOO_ |const U8 classnum \
|const UV c
CRp |bool |_is_uni_perl_idcont \
CRp |bool |is_uni_perl_idcont_ \
|UV c
CRp |bool |_is_uni_perl_idstart \
CRp |bool |is_uni_perl_idstart_ \
|UV c
ARTdip |Size_t |isUTF8_CHAR |NN const U8 * const s0 \
|NN const U8 * const e
Expand Down Expand Up @@ -1757,17 +1757,17 @@ ATdip |bool |is_utf8_fixed_width_buf_loclen_flags \
|NULLOK const U8 **ep \
|NULLOK STRLEN *el \
|const U32 flags
CRp |bool |_is_utf8_FOO |const U8 classnum \
CRp |bool |is_utf8_FOO_ |const U8 classnum \
|NN const U8 *p \
|NN const U8 * const e
ARTdip |bool |is_utf8_invariant_string_loc \
|NN const U8 * const s \
|STRLEN len \
|NULLOK const U8 **ep
CRp |bool |_is_utf8_perl_idcont \
CRp |bool |is_utf8_perl_idcont_ \
|NN const U8 *p \
|NN const U8 * const e
CRp |bool |_is_utf8_perl_idstart \
CRp |bool |is_utf8_perl_idstart_ \
|NN const U8 *p \
|NN const U8 * const e
ARTdmp |bool |is_utf8_string |NN const U8 *s \
Expand Down Expand Up @@ -3657,7 +3657,7 @@ Xiop |Stack_off_t|TOPMARK
Cmp |UV |to_uni_fold |UV c \
|NN U8 *p \
|NN STRLEN *lenp
Cp |UV |_to_uni_fold_flags \
Cp |UV |to_uni_fold_flags_ \
|UV c \
|NN U8 *p \
|NN STRLEN *lenp \
Expand All @@ -3671,26 +3671,26 @@ Cp |UV |to_uni_title |UV c \
Cp |UV |to_uni_upper |UV c \
|NN U8 *p \
|NN STRLEN *lenp
Cp |UV |_to_utf8_fold_flags \
Cp |UV |to_utf8_fold_flags_ \
|NN const U8 *p \
|NULLOK const U8 *e \
|NN U8 *ustrp \
|NULLOK STRLEN *lenp \
|U8 flags

Cp |UV |_to_utf8_lower_flags \
Cp |UV |to_utf8_lower_flags_ \
|NN const U8 *p \
|NULLOK const U8 *e \
|NN U8 *ustrp \
|NULLOK STRLEN *lenp \
|bool flags
Cp |UV |_to_utf8_title_flags \
Cp |UV |to_utf8_title_flags_ \
|NN const U8 *p \
|NULLOK const U8 *e \
|NN U8 *ustrp \
|NULLOK STRLEN *lenp \
|bool flags
Cp |UV |_to_utf8_upper_flags \
Cp |UV |to_utf8_upper_flags_ \
|NN const U8 *p \
|NULLOK const U8 *e \
|NN U8 *ustrp \
Expand Down Expand Up @@ -5138,7 +5138,7 @@ ETi |const char *|get_regex_charset_name \
|NN STRLEN * const lenp
#endif
#if defined(PERL_IN_PP_C) || defined(PERL_IN_UTF8_C)
p |UV |_to_upper_title_latin1 \
p |UV |to_upper_title_latin1_ \
|const U8 c \
|NN U8 *p \
|NN STRLEN *lenp \
Expand Down Expand Up @@ -5366,18 +5366,18 @@ Ep |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
|U32 depth \
|bool was_mutate_ok
# if defined(PERL_IN_REGCOMP_TRIE_C) && defined(DEBUGGING)
ES |void |dump_trie |NN const struct _reg_trie_data *trie \
ES |void |dump_trie |NN const struct reg_trie_data_ *trie \
|NULLOK HV *widecharmap \
|NN AV *revcharmap \
|U32 depth
ES |void |dump_trie_interim_list \
|NN const struct _reg_trie_data *trie \
|NN const struct reg_trie_data_ *trie \
|NULLOK HV *widecharmap \
|NN AV *revcharmap \
|U32 next_alloc \
|U32 depth
ES |void |dump_trie_interim_table \
|NN const struct _reg_trie_data *trie \
|NN const struct reg_trie_data_ *trie \
|NULLOK HV *widecharmap \
|NN AV *revcharmap \
|U32 next_alloc \
Expand Down Expand Up @@ -5602,7 +5602,7 @@ ERp |bool |is_grapheme |NN const U8 *strbeg \
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
defined(PERL_IN_UTF8_C)
ETXp |UV |_to_fold_latin1|const U8 c \
ETXp |UV |to_fold_latin1_|const U8 c \
|NN U8 *p \
|NN STRLEN *lenp \
|const unsigned int flags
Expand Down Expand Up @@ -6183,7 +6183,7 @@ RST |U8 |to_lower_latin1|const U8 c \
|NULLOK U8 *p \
|NULLOK STRLEN *lenp \
|const char dummy
S |UV |_to_utf8_case |const UV original \
S |UV |to_utf8_case_ |const UV original \
|NULLOK const U8 *p \
|NN U8 *ustrp \
|NN STRLEN *lenp \
Expand Down
32 changes: 16 additions & 16 deletions embed.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,6 @@
# define SvTRUE_nomg(a) Perl_SvTRUE_nomg(aTHX_ a)
# define SvUV(a) Perl_SvUV(aTHX_ a)
# define SvUV_nomg(a) Perl_SvUV_nomg(aTHX_ a)
# define _is_uni_FOO(a,b) Perl__is_uni_FOO(aTHX_ a,b)
# define _is_uni_perl_idcont(a) Perl__is_uni_perl_idcont(aTHX_ a)
# define _is_uni_perl_idstart(a) Perl__is_uni_perl_idstart(aTHX_ a)
# define _is_utf8_FOO(a,b,c) Perl__is_utf8_FOO(aTHX_ a,b,c)
# define _is_utf8_perl_idcont(a,b) Perl__is_utf8_perl_idcont(aTHX_ a,b)
# define _is_utf8_perl_idstart(a,b) Perl__is_utf8_perl_idstart(aTHX_ a,b)
# define _to_uni_fold_flags(a,b,c,d) Perl__to_uni_fold_flags(aTHX_ a,b,c,d)
# define _to_utf8_fold_flags(a,b,c,d,e) Perl__to_utf8_fold_flags(aTHX_ a,b,c,d,e)
# define _to_utf8_lower_flags(a,b,c,d,e) Perl__to_utf8_lower_flags(aTHX_ a,b,c,d,e)
# define _to_utf8_title_flags(a,b,c,d,e) Perl__to_utf8_title_flags(aTHX_ a,b,c,d,e)
# define _to_utf8_upper_flags(a,b,c,d,e) Perl__to_utf8_upper_flags(aTHX_ a,b,c,d,e)
# define amagic_call(a,b,c,d) Perl_amagic_call(aTHX_ a,b,c,d)
# define amagic_deref_call(a,b) Perl_amagic_deref_call(aTHX_ a,b)
# define apply_attrs_string(a,b,c,d) Perl_apply_attrs_string(aTHX_ a,b,c,d)
Expand Down Expand Up @@ -333,13 +322,19 @@
# define Perl_is_strict_utf8_string is_strict_utf8_string
# define Perl_is_strict_utf8_string_loc is_strict_utf8_string_loc
# define is_strict_utf8_string_loclen Perl_is_strict_utf8_string_loclen
# define is_uni_FOO_(a,b) Perl_is_uni_FOO_(aTHX_ a,b)
# define is_uni_perl_idcont_(a) Perl_is_uni_perl_idcont_(aTHX_ a)
# define is_uni_perl_idstart_(a) Perl_is_uni_perl_idstart_(aTHX_ a)
# define is_utf8_FF_helper_ Perl_is_utf8_FF_helper_
# define is_utf8_FOO_(a,b,c) Perl_is_utf8_FOO_(aTHX_ a,b,c)
# define Perl_is_utf8_char_buf is_utf8_char_buf
# define is_utf8_char_helper_ Perl_is_utf8_char_helper_
# define Perl_is_utf8_fixed_width_buf_flags is_utf8_fixed_width_buf_flags
# define Perl_is_utf8_fixed_width_buf_loc_flags is_utf8_fixed_width_buf_loc_flags
# define is_utf8_fixed_width_buf_loclen_flags Perl_is_utf8_fixed_width_buf_loclen_flags
# define is_utf8_invariant_string_loc Perl_is_utf8_invariant_string_loc
# define is_utf8_perl_idcont_(a,b) Perl_is_utf8_perl_idcont_(aTHX_ a,b)
# define is_utf8_perl_idstart_(a,b) Perl_is_utf8_perl_idstart_(aTHX_ a,b)
# define Perl_is_utf8_string is_utf8_string
# define is_utf8_string_flags Perl_is_utf8_string_flags
# define Perl_is_utf8_string_loc is_utf8_string_loc
Expand Down Expand Up @@ -809,9 +804,14 @@
# define sync_locale() Perl_sync_locale(aTHX)
# define taint_env() Perl_taint_env(aTHX)
# define taint_proper(a,b) Perl_taint_proper(aTHX_ a,b)
# define to_uni_fold_flags_(a,b,c,d) Perl_to_uni_fold_flags_(aTHX_ a,b,c,d)
# define to_uni_lower(a,b,c) Perl_to_uni_lower(aTHX_ a,b,c)
# define to_uni_title(a,b,c) Perl_to_uni_title(aTHX_ a,b,c)
# define to_uni_upper(a,b,c) Perl_to_uni_upper(aTHX_ a,b,c)
# define to_utf8_fold_flags_(a,b,c,d,e) Perl_to_utf8_fold_flags_(aTHX_ a,b,c,d,e)
# define to_utf8_lower_flags_(a,b,c,d,e) Perl_to_utf8_lower_flags_(aTHX_ a,b,c,d,e)
# define to_utf8_title_flags_(a,b,c,d,e) Perl_to_utf8_title_flags_(aTHX_ a,b,c,d,e)
# define to_utf8_upper_flags_(a,b,c,d,e) Perl_to_utf8_upper_flags_(aTHX_ a,b,c,d,e)
# define uiv_2buf Perl_uiv_2buf
# define unpackstring(a,b,c,d,e) Perl_unpackstring(aTHX_ a,b,c,d,e)
# define unshare_hek(a) Perl_unshare_hek(aTHX_ a)
Expand Down Expand Up @@ -1579,7 +1579,7 @@
# define lossless_NV_to_IV S_lossless_NV_to_IV
# endif
# if defined(PERL_IN_PP_C) || defined(PERL_IN_UTF8_C)
# define _to_upper_title_latin1(a,b,c,d) Perl__to_upper_title_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)
# endif
# if defined(PERL_IN_PP_CTL_C)
# define check_type_and_open(a) S_check_type_and_open(aTHX_ a)
Expand Down Expand Up @@ -1722,14 +1722,14 @@
# define sv_derived_from_svpvn(a,b,c,d,e) S_sv_derived_from_svpvn(aTHX_ a,b,c,d,e)
# endif
# if defined(PERL_IN_UTF8_C)
# define _to_utf8_case(a,b,c,d,e,f,g,h,i) S__to_utf8_case(aTHX_ a,b,c,d,e,f,g,h,i)
# define check_locale_boundary_crossing(a,b,c,d) S_check_locale_boundary_crossing(aTHX_ a,b,c,d)
# define does_utf8_overflow S_does_utf8_overflow
# define isFF_overlong S_isFF_overlong
# define is_utf8_overlong S_is_utf8_overlong
# define new_msg_hv(a,b,c) S_new_msg_hv(aTHX_ a,b,c)
# define to_case_cp_list(a,b,c,d,e,f,g,h) S_to_case_cp_list(aTHX_ a,b,c,d,e,f,g,h)
# define to_lower_latin1 S_to_lower_latin1
# define to_utf8_case_(a,b,c,d,e,f,g,h,i) S_to_utf8_case_(aTHX_ a,b,c,d,e,f,g,h,i)
# define turkic_fc(a,b,c,d) S_turkic_fc(aTHX_ a,b,c,d)
# define turkic_lc(a,b,c,d) S_turkic_lc(aTHX_ a,b,c,d)
# define turkic_uc(a,b,c,d) S_turkic_uc(aTHX_ a,b,c,d)
Expand Down Expand Up @@ -1798,10 +1798,9 @@
# endif
# endif /* defined(PERL_CORE) */
# if defined(PERL_CORE) || defined(PERL_EXT)
# define _byte_dump_string(a,b,c) Perl__byte_dump_string(aTHX_ a,b,c)
# define _inverse_folds(a,b,c) Perl__inverse_folds(aTHX_ a,b,c)
# define append_utf8_from_native_byte Perl_append_utf8_from_native_byte
# define av_reify(a) Perl_av_reify(aTHX_ a)
# define byte_dump_string_(a,b,c) Perl_byte_dump_string_(aTHX_ a,b,c)
# define cntrl_to_mnemonic Perl_cntrl_to_mnemonic
# define current_re_engine() Perl_current_re_engine(aTHX)
# define cv_ckproto_len_flags(a,b,c,d,e) Perl_cv_ckproto_len_flags(aTHX_ a,b,c,d,e)
Expand All @@ -1811,6 +1810,7 @@
# define get_deprecated_property_msg Perl_get_deprecated_property_msg
# define get_prop_definition(a) Perl_get_prop_definition(aTHX_ a)
# define get_prop_values Perl_get_prop_values
# define inverse_folds_(a,b,c) Perl_inverse_folds_(aTHX_ a,b,c)
# define load_charnames(a,b,c,d) Perl_load_charnames(aTHX_ a,b,c,d)
# define mbtowc_(a,b,c) Perl_mbtowc_(aTHX_ a,b,c)
# define mg_find_mglob(a) Perl_mg_find_mglob(aTHX_ a)
Expand Down Expand Up @@ -1992,7 +1992,7 @@
# endif
# if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || \
defined(PERL_IN_UTF8_C)
# define _to_fold_latin1 Perl__to_fold_latin1
# define to_fold_latin1_ Perl_to_fold_latin1_
# endif
# if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
# define regcurly Perl_regcurly
Expand Down
40 changes: 20 additions & 20 deletions gv.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,31 @@ the need to cast the result to the appropriate type.

#if defined (DEBUGGING) && defined(PERL_USE_GCC_BRACE_GROUPS) && !defined(__INTEL_COMPILER)
# define GvGP(gv) \
((GP *)(*({GV *const _gvgp = (GV *) (gv); \
assert(SvTYPE(_gvgp) == SVt_PVGV || SvTYPE(_gvgp) == SVt_PVLV); \
assert(isGV_with_GP(_gvgp)); \
&((_gvgp)->sv_u.svu_gp);})))
((GP *)(*({GV *const gvgp_ = (GV *) (gv); \
assert(SvTYPE(gvgp_) == SVt_PVGV || SvTYPE(gvgp_) == SVt_PVLV); \
assert(isGV_with_GP(gvgp_)); \
&((gvgp_)->sv_u.svu_gp);})))
# define GvGP_set(gv,gp) \
{GV *const _gvgp = (GV *) (gv); \
assert(SvTYPE(_gvgp) == SVt_PVGV || SvTYPE(_gvgp) == SVt_PVLV); \
assert(isGV_with_GP(_gvgp)); \
(_gvgp)->sv_u.svu_gp = (gp); }
{GV *const gvgp_ = (GV *) (gv); \
assert(SvTYPE(gvgp_) == SVt_PVGV || SvTYPE(gvgp_) == SVt_PVLV); \
assert(isGV_with_GP(gvgp_)); \
(gvgp_)->sv_u.svu_gp = (gp); }
# define GvFLAGS(gv) \
(*({GV *const _gvflags = (GV *) (gv); \
assert(SvTYPE(_gvflags) == SVt_PVGV || SvTYPE(_gvflags) == SVt_PVLV); \
assert(isGV_with_GP(_gvflags)); \
&(GvXPVGV(_gvflags)->xpv_cur);}))
(*({GV *const gvflags_ = (GV *) (gv); \
assert(SvTYPE(gvflags_) == SVt_PVGV || SvTYPE(gvflags_) == SVt_PVLV); \
assert(isGV_with_GP(gvflags_)); \
&(GvXPVGV(gvflags_)->xpv_cur);}))
# define GvSTASH(gv) \
(*({ GV * const _gvstash = (GV *) (gv); \
assert(isGV_with_GP(_gvstash)); \
assert(SvTYPE(_gvstash) == SVt_PVGV || SvTYPE(_gvstash) >= SVt_PVLV); \
&(GvXPVGV(_gvstash)->xnv_u.xgv_stash); \
(*({ GV * const gvstash_ = (GV *) (gv); \
assert(isGV_with_GP(gvstash_)); \
assert(SvTYPE(gvstash_) == SVt_PVGV || SvTYPE(gvstash_) >= SVt_PVLV); \
&(GvXPVGV(gvstash_)->xnv_u.xgv_stash); \
}))
# define GvNAME_HEK(gv) \
(*({ GV * const _gvname_hek = (GV *) (gv); \
assert(isGV_with_GP(_gvname_hek)); \
assert(SvTYPE(_gvname_hek) == SVt_PVGV || SvTYPE(_gvname_hek) >= SVt_PVLV); \
&(GvXPVGV(_gvname_hek)->xiv_u.xivu_namehek); \
(*({ GV * const gvname_hek_ = (GV *) (gv); \
assert(isGV_with_GP(gvname_hek_)); \
assert(SvTYPE(gvname_hek_) == SVt_PVGV || SvTYPE(gvname_hek_) >= SVt_PVLV); \
&(GvXPVGV(gvname_hek_)->xiv_u.xivu_namehek); \
}))
# define GvNAME_get(gv) ({ assert(GvNAME_HEK(gv)); (char *)HEK_KEY(GvNAME_HEK(gv)); })
# define GvNAMELEN_get(gv) ({ assert(GvNAME_HEK(gv)); HEK_LEN(GvNAME_HEK(gv)); })
Expand Down
Loading
Loading