summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-09-19 22:04:46 +0000
committerNicholas Clark <nick@ccl4.org>2007-09-19 22:04:46 +0000
commit9dbc5603217e015b4c096a784947b1930341263c (patch)
tree61be603b573f108f0fb3e1756443c40d64b30e84 /hv.h
parent850f5f1656517fc18828d0834df99b88d391269f (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index dfcc59158d..bb4a3e0cb4 100644
--- a/hv.h
+++ b/hv.h
@@ -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: