Skip to content

Commit c6008db

Browse files
committed
sv.h Convert _svmagic to legal name
1 parent ac7a3a8 commit c6008db

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
@@ -1436,9 +1436,9 @@ object type. Exposed to perl code via Internals::SvREADONLY().
14361436
(svrv_)->sv_u.svu_rv; \
14371437
})
14381438
# define SvMAGIC(sv) \
1439-
(*({ const SV *const _svmagic = (const SV *)(sv); \
1440-
assert(SvTYPE(_svmagic) >= SVt_PVMG); \
1441-
&(((XPVMG*) MUTABLE_PTR(SvANY(_svmagic)))->xmg_u.xmg_magic); \
1439+
(*({ const SV *const svmagic_ = (const SV *)(sv); \
1440+
assert(SvTYPE(svmagic_) >= SVt_PVMG); \
1441+
&(((XPVMG*) MUTABLE_PTR(SvANY(svmagic_)))->xmg_u.xmg_magic); \
14421442
}))
14431443
# define SvSTASH(sv) \
14441444
(*({ const SV *const _svstash = (const SV *)(sv); \

0 commit comments

Comments
 (0)