summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-02-10 21:26:55 -0700
committerKarl Williamson <khw@cpan.org>2017-02-12 09:17:35 -0700
commitf40abc997d245cb9516bc71ad192596d10097972 (patch)
tree93ea7ecfef3234d653e0c257da6cdd2add78eb52 /sv.h
parent61fa1f010887f7318c062b65afdd45fb6f30d5a5 (diff)
downloadperl-f40abc997d245cb9516bc71ad192596d10097972.tar.gz
sv.h: Add comment
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 6227d46a0a..82130b7fc0 100644
--- a/sv.h
+++ b/sv.h
@@ -155,7 +155,10 @@ typedef enum {
/* *** any alterations to the SV types above need to be reflected in
* SVt_MASK and the various PL_valid_types_* tables. As of this writing those
* tables are in perl.h. There are also two affected names tables in dump.c,
- * one in B.xs, and 'bodies_by_type[]' in sv.c */
+ * one in B.xs, and 'bodies_by_type[]' in sv.c.
+ *
+ * The bits that match 0xf0 are CURRENTLY UNUSED, except that 0xFF means a
+ * freed SV. The bits above that are for flags, like SVf_IOK */
#define SVt_MASK 0xf /* smallest bitmask that covers all types */