From 2c39754a51ff0311c18539adf3808a52242313c3 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Mon, 22 Sep 2014 15:19:50 +0100 Subject: SvFLAGS: informally reserve a bit SvFAKE is currently unused on HVs, so I'm marking it as mine. Hopefully it will eventually get used for vtables on HVs. I've also improved the description of SVs_TEMP. --- sv.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sv.h') diff --git a/sv.h b/sv.h index 747962423c..8876449f2f 100644 --- a/sv.h +++ b/sv.h @@ -369,7 +369,7 @@ perform the upgrade if necessary. See C. #define SVpad_TYPED 0x00020000 /* pad name is a Typed Lexical */ #define SVs_PADMY 0x00040000 /* in use a "my" variable */ #define SVpad_OUR 0x00040000 /* pad name is "our" instead of "my" */ -#define SVs_TEMP 0x00080000 /* string is stealable? */ +#define SVs_TEMP 0x00080000 /* mortal (implies string is stealable) */ #define SVs_OBJECT 0x00100000 /* is "blessed" */ #define SVs_GMG 0x00200000 /* has magical get method */ #define SVs_SMG 0x00400000 /* has magical set method */ @@ -382,7 +382,9 @@ perform the upgrade if necessary. See C. [CvEVAL(cv), CvSPECIAL(cv)] 3: On a pad name SV, that slot in the frame AV is a REFCNT'ed reference - to a lexical from "outside". */ + to a lexical from "outside". + 4: HV: informally reserved by DAPM + for vtables */ #define SVf_OOK 0x02000000 /* has valid offset value. For a PVHV this means that a hv_aux struct is present after the main array */ -- cgit v1.2.1