summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorVincent Pit <perl@profvince.com>2009-07-25 00:15:07 +0200
committerVincent Pit <perl@profvince.com>2009-07-25 23:26:06 +0200
commit91d1c79f6c648258e3465cf0cdbe8df3ab262de1 (patch)
tree80fc2bb47eae65d7017d956e3759daf004420d29 /proto.h
parent2788925507d099c7b1e9382ad2ddc4f3d692de28 (diff)
downloadperl-91d1c79f6c648258e3465cf0cdbe8df3ab262de1.tar.gz
Introduce save_aelem_flags()
It's the symmetric of save_helem_flags(). save_aelem() is now a macro wrapping around save_aelem_flags().
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index b2e9e90a14..77464c59a2 100644
--- a/proto.h
+++ b/proto.h
@@ -2746,10 +2746,14 @@ PERL_CALLCONV char* Perl_savesvpv(pTHX_ SV* sv)
PERL_CALLCONV void Perl_savestack_grow(pTHX);
PERL_CALLCONV void Perl_savestack_grow_cnt(pTHX_ I32 need);
-PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
+/* PERL_CALLCONV void Perl_save_aelem(pTHX_ AV* av, I32 idx, SV **sptr)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_3); */
+
+PERL_CALLCONV void Perl_save_aelem_flags(pTHX_ AV* av, I32 idx, SV **sptr, const U32 flags)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_3);
-#define PERL_ARGS_ASSERT_SAVE_AELEM \
+#define PERL_ARGS_ASSERT_SAVE_AELEM_FLAGS \
assert(av); assert(sptr)
PERL_CALLCONV I32 Perl_save_alloc(pTHX_ I32 size, I32 pad);