diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-08-06 05:57:26 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-08-06 05:57:26 -0700 |
commit | 1cd19e121cab50d0b5b0e45a0c70cd9294a7ed9a (patch) | |
tree | d6f14b1bcb31214151f48aa4be139e48e647f1b1 /sv.h | |
parent | eb40d2ca32bab47c140b354a1907b0ba5b74f9bc (diff) | |
download | perl-1cd19e121cab50d0b5b0e45a0c70cd9294a7ed9a.tar.gz |
sv.h: Add comment about gv_check and SvIsCOW
So that future refactorings don’t make use of 0x00010000 on
hashes without modifying gv_check to account.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -363,6 +363,7 @@ perform the upgrade if necessary. See C<svtype>. #define SVpad_NAMELIST SVp_SCREAM /* AV is a padnamelist */ #define SVf_IsCOW 0x00010000 /* copy on write (shared hash key if SvLEN == 0) */ + /* Also used on HVs in gv.c:gv_check */ #define SVs_PADTMP 0x00020000 /* in use as tmp; only if ! SVs_PADMY */ #define SVs_PADSTALE 0x00020000 /* lexical has gone out of scope; only valid for SVs_PADMY */ |