Skip to content

Commit ed84f45

Browse files
committed
sv.h Convert _svstash to legal name
1 parent c6008db commit ed84f45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,9 +1441,9 @@ object type. Exposed to perl code via Internals::SvREADONLY().
14411441
&(((XPVMG*) MUTABLE_PTR(SvANY(svmagic_)))->xmg_u.xmg_magic); \
14421442
}))
14431443
# define SvSTASH(sv) \
1444-
(*({ const SV *const _svstash = (const SV *)(sv); \
1445-
assert(SvTYPE(_svstash) >= SVt_PVMG); \
1446-
&(((XPVMG*) MUTABLE_PTR(SvANY(_svstash)))->xmg_stash); \
1444+
(*({ const SV *const svstash_ = (const SV *)(sv); \
1445+
assert(SvTYPE(svstash_) >= SVt_PVMG); \
1446+
&(((XPVMG*) MUTABLE_PTR(SvANY(svstash_)))->xmg_stash); \
14471447
}))
14481448
# else /* Below is not DEBUGGING or can't use brace groups */
14491449
# define SvPVX(sv) ((sv)->sv_u.svu_pv)

0 commit comments

Comments
 (0)