diff options
author | Vincent Pit <perl@profvince.com> | 2008-12-28 13:49:41 +0100 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2008-12-28 15:46:41 +0100 |
commit | c68ec7a9f950f968bb39608a47e0228e03511a18 (patch) | |
tree | 8c91cd97a32669a380b021b83db95db30a3e6e4b /proto.h | |
parent | d30e492cced9a7022652176a253f8f900679d9b0 (diff) | |
download | perl-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 \ |