diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-09-19 22:04:46 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-09-19 22:04:46 +0000 |
commit | 9dbc5603217e015b4c096a784947b1930341263c (patch) | |
tree | 61be603b573f108f0fb3e1756443c40d64b30e84 /hv.h | |
parent | 850f5f1656517fc18828d0834df99b88d391269f (diff) | |
download | perl-9dbc5603217e015b4c096a784947b1930341263c.tar.gz |
Send all delete()/delete_ent() calls via S_hv_fetch_common().
This puts all the key normalisation code in one place.
p4raw-id: //depot/perl@31916
Diffstat (limited to 'hv.h')
-rw-r--r-- | hv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,6 @@ struct refcounted_he { /* Hash actions * Passed in PERL_MAGIC_uvar calls */ -#define HV_DELETE -1 #define HV_DISABLE_UVAR_XKEY 0x01 /* We need to ensure that these don't clash with G_DISCARD, which is 2, as it is documented as being passed to hv_delete(). */ @@ -490,6 +489,7 @@ struct refcounted_he { #define HV_FETCH_ISEXISTS 0x08 #define HV_FETCH_LVALUE 0x10 #define HV_FETCH_JUST_SV 0x20 +#define HV_DELETE 0x40 /* * Local variables: |