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 /av.c | |
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 'av.c')
-rw-r--r-- | av.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -766,6 +766,8 @@ array is C<av_top_index(av) + 1>. Returns -1 if the array is empty. The Perl equivalent for this is C<$#myarray>. +(A slightly shorter form is C<av_tindex>.) + =for apidoc av_len Same as L</av_top_index>. Returns the highest index in the array. Note that the |