summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorVincent Pit <perl@profvince.com>2009-07-25 18:19:51 +0200
committerVincent Pit <perl@profvince.com>2009-07-25 23:26:07 +0200
commitaf097752b446f87855473ee776be3a2d7b735986 (patch)
tree93c17080295c2d221724ad333d1280f2fc1f698d /proto.h
parent75d34a09f38381e487470136b539a7fba0f02b44 (diff)
downloadperl-af097752b446f87855473ee776be3a2d7b735986.tar.gz
Introduce save_hdelete() and SAVEHDELETE()
save_hdelete() is just like save_delete() except that it takes an SV instead of char buffer.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 77464c59a2..61805f6131 100644
--- a/proto.h
+++ b/proto.h
@@ -2783,6 +2783,12 @@ PERL_CALLCONV void Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
#define PERL_ARGS_ASSERT_SAVE_DELETE \
assert(hv); assert(key)
+PERL_CALLCONV void Perl_save_hdelete(pTHX_ HV *hv, SV *keysv)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2);
+#define PERL_ARGS_ASSERT_SAVE_HDELETE \
+ assert(hv); assert(keysv)
+
PERL_CALLCONV void Perl_save_adelete(pTHX_ AV *av, I32 key)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SAVE_ADELETE \