projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Cwd::_backtick_pwd does not check return value
[p5sagit/p5-mst-13.2.git]
/
sv.h
diff --git
a/sv.h
b/sv.h
index
d242bf5
..
5500d2b
100644
(file)
--- a/
sv.h
+++ b/
sv.h
@@
-612,6
+612,8
@@
Set the length of the string which is in the SV. See C<SvCUR>.
#define SvAMAGIC_on(sv) (SvFLAGS(sv) |= SVf_AMAGIC)
#define SvAMAGIC_off(sv) (SvFLAGS(sv) &= ~SVf_AMAGIC)
+#define SvGAMAGIC(sv) (SvFLAGS(sv) & (SVs_GMG|SVf_AMAGIC))
+
/*
#define Gv_AMG(stash) \
(HV_AMAGICmb(stash) && \