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 /scope.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 'scope.h')
-rw-r--r-- | scope.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -54,6 +54,7 @@ #define SAVEt_COMPILE_WARNINGS 43 #define SAVEt_STACK_CXPOS 44 #define SAVEt_PARSER 45 +#define SAVEt_ADELETE 46 #define SAVEf_SETMAGIC 1 @@ -142,6 +143,8 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>. #define SAVESETSVFLAGS(sv,mask,val) save_set_svflags(sv,mask,val) #define SAVEDELETE(h,k,l) \ save_delete(MUTABLE_HV(h), (char*)(k), (I32)(l)) +#define SAVEADELETE(a,k) \ + save_adelete(MUTABLE_AV(a), (I32)(k)) #define SAVEDESTRUCTOR(f,p) \ save_destructor((DESTRUCTORFUNC_NOCONTEXT_t)(f), (void*)(p)) |