summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2007-04-24 06:35:43 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-25 08:10:05 +0000
commit324a0d1887cfcef6494645efbaf97082c32ae679 (patch)
tree94389bdaeeb43c81d23eae1743ff52771876a6e5 /hv.h
parentb205eb13670a13cc13d3d289985c28e180cea0ff (diff)
downloadperl-324a0d1887cfcef6494645efbaf97082c32ae679.tar.gz
Move hash action constants to hv.h
From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510704240735t50cfc159g59b55726ac5ac64b@mail.gmail.com> p4raw-id: //depot/perl@31064
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hv.h b/hv.h
index 7047ea0226..a82958f7a8 100644
--- a/hv.h
+++ b/hv.h
@@ -480,6 +480,15 @@ struct refcounted_he {
# define HINTS_REFCNT_TERM NOOP
#endif
+/* Hash actions
+ * Passed in PERL_MAGIC_uvar calls
+ */
+#define HV_DELETE -1
+#define HV_FETCH_ISSTORE 0x01
+#define HV_FETCH_ISEXISTS 0x02
+#define HV_FETCH_LVALUE 0x04
+#define HV_FETCH_JUST_SV 0x08
+
/*
* Local variables:
* c-indentation-style: bsd