diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-02-08 14:27:57 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-02-08 14:44:24 -0700 |
commit | 127191935588596728c62621b37dcfbab94edc5c (patch) | |
tree | db24ba578bf8a4bb46b2981ef325f2d16c925a90 /proto.h | |
parent | be3a7a5d0cbc1f6097d4470182c7b7e1d05d94c0 (diff) | |
download | perl-127191935588596728c62621b37dcfbab94edc5c.tar.gz |
Add av_tindex() synonym for av_top_index()
The latter is a somewhat less clumsy name. The old one is provided a a
very clear name; the new one as a somewhat slangy version
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -227,6 +227,10 @@ 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_tindex(pTHX_ AV *av) + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1); */ + PERL_STATIC_INLINE I32 S_av_top_index(pTHX_ AV *av) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); |