diff options
author | Vincent Pit <perl@profvince.com> | 2009-07-25 18:19:51 +0200 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2009-07-25 23:26:07 +0200 |
commit | af097752b446f87855473ee776be3a2d7b735986 (patch) | |
tree | 93c17080295c2d221724ad333d1280f2fc1f698d /proto.h | |
parent | 75d34a09f38381e487470136b539a7fba0f02b44 (diff) | |
download | perl-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 \ |