Skip to content

Commit 041412d

Browse files
committed
sv.h Convert _svvalid to legal name
1 parent 987ecbc commit 041412d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sv.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,12 +1334,12 @@ object type. Exposed to perl code via Internals::SvREADONLY().
13341334

13351335
/* Does the SV have a Boyer-Moore table attached as magic?
13361336
* 'VALID' is a poor name, but is kept for historical reasons. */
1337-
#define SvVALID(_svvalid) ( \
1338-
SvPOKp(_svvalid) \
1339-
&& SvSMAGICAL(_svvalid) \
1340-
&& SvMAGIC(_svvalid) \
1341-
&& (SvMAGIC(_svvalid)->mg_type == PERL_MAGIC_bm \
1342-
|| mg_find(_svvalid, PERL_MAGIC_bm)) \
1337+
#define SvVALID(svvalid_) ( \
1338+
SvPOKp(svvalid_) \
1339+
&& SvSMAGICAL(svvalid_) \
1340+
&& SvMAGIC(svvalid_) \
1341+
&& (SvMAGIC(svvalid_)->mg_type == PERL_MAGIC_bm \
1342+
|| mg_find(svvalid_, PERL_MAGIC_bm)) \
13431343
)
13441344

13451345
#define SvRVx(sv) SvRV(sv)

0 commit comments

Comments
 (0)