diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-27 15:21:47 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-01-19 22:53:04 -0700 |
commit | 36baafc9b54ecc5cdea82552276a70b5218958bb (patch) | |
tree | b2f6e8c58190cd81605b11b9c2e6139fb53ee13b /proto.h | |
parent | 8fb629dbc35ef4d5ec17062231fd1a79dc5a0a75 (diff) | |
download | perl-36baafc9b54ecc5cdea82552276a70b5218958bb.tar.gz |
Add av_top() synonym for av_len()
av_len() is misleadingly named.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -227,6 +227,12 @@ PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, I32 key, SV *val) #define PERL_ARGS_ASSERT_AV_STORE \ assert(av) +PERL_CALLCONV I32 Perl_av_top(pTHX_ AV *av) + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_AV_TOP \ + assert(av) + PERL_CALLCONV void Perl_av_undef(pTHX_ AV *av) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_AV_UNDEF \ |