diff options
author | Karl Williamson <khw@cpan.org> | 2020-09-29 00:48:19 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-09-29 01:08:31 -0600 |
commit | bd5fa06648085e8c17efd55abeb6424aeeb1018e (patch) | |
tree | c6ea50a258097374dbc112ca0569e3be98d4f6b1 /av.c | |
parent | e17dadf36f7b4348e59076240c880d0c78b33fa9 (diff) | |
download | perl-bd5fa06648085e8c17efd55abeb6424aeeb1018e.tar.gz |
Remove Perl_av_top_index
I created this in 87306e0674dfe3af29804b4641347cd5ac9b0521, thinking it
was needed to preserve backward compatibility if someone were using this
instead of the macro. But it turned out that there never was such a
function, it was inlined, and the name was S_av_top_index, so there is
no reason to create a new function that no one has ever been able to
call. So just remove it, and let all accesses go through the macro
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1095,16 +1095,6 @@ Perl_av_nonelem(pTHX_ AV *av, SSize_t ix) { return sv; } -SSize_t -Perl_av_top_index(pTHX_ AV *av) -{ - PERL_ARGS_ASSERT_AV_TOP_INDEX; - assert(SvTYPE(av) == SVt_PVAV); - - return AvFILL(av); -} - - /* * ex: set ts=8 sts=4 sw=4 et: */ |