summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-01-22 09:22:08 -0700
committerKarl Williamson <public@khwilliamson.com>2011-01-29 10:26:40 -0700
commitee0581675983faf457363d22d116d1e71af9dc1c (patch)
treeb1912cf38b4429d9979c88048613f55fe52e8323 /av.c
parentf7f5e97b7a9bb1015c2778e4f6b40b39f1459074 (diff)
downloadperl-ee0581675983faf457363d22d116d1e71af9dc1c.tar.gz
perlapi: Clarify statement about av_push()
Contrary to the previous text, av_store() requires the user to deal with the reference count of the scalar being added.
Diffstat (limited to 'av.c')
-rw-r--r--av.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/av.c b/av.c
index 8408220aff..776dafd4af 100644
--- a/av.c
+++ b/av.c
@@ -526,8 +526,7 @@ Perl_av_create_and_push(pTHX_ AV **const avp, SV *const val)
=for apidoc av_push
Pushes an SV onto the end of the array. The array will grow automatically
-to accommodate the addition. Like C<av_store>, this takes ownership of one
-reference count.
+to accommodate the addition. This takes ownership of one reference count.
=cut
*/