projects
/
p5sagit/Devel-Size.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't count PL_sv_placeholder in the size returned.
[p5sagit/Devel-Size.git]
/
Size.xs
diff --git
a/Size.xs
b/Size.xs
index
b18e046
..
7cd3ea7
100644
(file)
--- a/
Size.xs
+++ b/
Size.xs
@@
-831,6
+831,9
@@
new_state(pTHX)
check_new(st, &PL_sv_undef);
check_new(st, &PL_sv_no);
check_new(st, &PL_sv_yes);
+#if PERL_VERSION > 8 || (PERL_VERSION == 8 && PERL_SUBVERSION > 0)
+ check_new(st, &PL_sv_placeholder);
+#endif
return st;
}