summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-07 11:43:02 -0700
committerKarl Williamson <public@khwilliamson.com>2013-02-08 14:44:24 -0700
commitdab460cdc878907f9f3f36b96709f818ac937409 (patch)
treedf2722f0718536486e11c6afadef2d508e3d67eb /embed.fnc
parent2dbb0a307f0954c1222fc47c920f695d0b1db80d (diff)
downloadperl-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.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 98da340110..756dd9452c 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -219,7 +219,7 @@ Apd |void |av_push |NN AV *av|NN SV *val
EXp |void |av_reify |NN AV *av
ApdR |SV* |av_shift |NN AV *av
Apd |SV** |av_store |NN AV *av|I32 key|NULLOK SV *val
-ApdR |I32 |av_top |NN AV *av
+ApdR |I32 |av_top_index |NN AV *av
Apd |void |av_undef |NN AV *av
ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
Apd |void |av_unshift |NN AV *av|I32 num