summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorVincent Pit <perl@profvince.com>2008-12-28 13:49:41 +0100
committerVincent Pit <perl@profvince.com>2008-12-28 15:46:41 +0100
commitc68ec7a9f950f968bb39608a47e0228e03511a18 (patch)
tree8c91cd97a32669a380b021b83db95db30a3e6e4b /proto.h
parentd30e492cced9a7022652176a253f8f900679d9b0 (diff)
downloadperl-c68ec7a9f950f968bb39608a47e0228e03511a18.tar.gz
Add save_adelete()/SAVEADELETE() to save on the stack an array element delete
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 1313b31665..ffbc9fb522 100644
--- a/proto.h
+++ b/proto.h
@@ -2781,6 +2781,11 @@ 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_adelete(pTHX_ AV *av, I32 key)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_SAVE_ADELETE \
+ assert(av)
+
PERL_CALLCONV void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
__attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_SAVE_DESTRUCTOR \