diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-02-07 11:43:02 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-02-08 14:44:24 -0700 |
commit | dab460cdc878907f9f3f36b96709f818ac937409 (patch) | |
tree | df2722f0718536486e11c6afadef2d508e3d67eb /embed.h | |
parent | 2dbb0a307f0954c1222fc47c920f695d0b1db80d (diff) | |
download | perl-dab460cdc878907f9f3f36b96709f818ac937409.tar.gz |
Change name 'av_top' to 'av_top_index'
In using the av_top() function created in a recent commit, I found
myself being confused, and thinking it meant the top element of the
array, whereas it really means the index of the top element of that
array. Since the new name has not appeared in a stable release, it can
be changed, without remorse, to include 'index' in it.
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ #define av_push(a,b) Perl_av_push(aTHX_ a,b) #define av_shift(a) Perl_av_shift(aTHX_ a) #define av_store(a,b,c) Perl_av_store(aTHX_ a,b,c) -#define av_top(a) Perl_av_top(aTHX_ a) +#define av_top_index(a) Perl_av_top_index(aTHX_ a) #define av_undef(a) Perl_av_undef(aTHX_ a) #define av_unshift(a,b) Perl_av_unshift(aTHX_ a,b) #define block_gimme() Perl_block_gimme(aTHX) |