summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-02-20 10:28:58 -0700
committerKarl Williamson <public@khwilliamson.com>2014-02-20 11:47:05 -0700
commitb9f2b68390014b991c227e8c56d3e813584245b9 (patch)
treecda819a22dfe1ff503439d761b579ba313a4754c /op.h
parent78ae08632cb098bf2ca76b516ad9ac6d22705ae7 (diff)
downloadperl-b9f2b68390014b991c227e8c56d3e813584245b9.tar.gz
Change av_len calls to av_tindex for clarity
av_tindex is a more clearly named synonym for av_len, available starting in v5.18. This changes the core uses to it, including modules in /ext, which are not dual-lifed.
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index a93e759b2a..ed9609dddf 100644
--- a/op.h
+++ b/op.h
@@ -864,7 +864,7 @@ preprocessing token; the type of I<arg> depends on I<which>.
STMT_START { \
if (PL_blockhooks) { \
SSize_t i; \
- for (i = av_len(PL_blockhooks); i >= 0; i--) { \
+ for (i = av_tindex(PL_blockhooks); i >= 0; i--) { \
SV *sv = AvARRAY(PL_blockhooks)[i]; \
BHK *hk; \
\