summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2009-07-31 11:14:26 +0200
committerSteffen Mueller <smueller@cpan.org>2009-07-31 11:14:26 +0200
commitf629640b47d85ee716c01ebff7cc36202d0f9bb9 (patch)
tree207db3d5633bd70787f377dad0b41e921bb44ee8 /av.c
parentf96e7a95cba48054919dbb0a0a9c193d98d3dd86 (diff)
downloadperl-f629640b47d85ee716c01ebff7cc36202d0f9bb9.tar.gz
Mention in apidocs that av_push takes ownership of a refcount
Diffstat (limited to 'av.c')
-rw-r--r--av.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/av.c b/av.c
index c597ea2d1a..f45a3ea63f 100644
--- a/av.c
+++ b/av.c
@@ -527,7 +527,8 @@ 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.
+to accommodate the addition. Like C<av_store>, this takes ownership of one
+reference count.
=cut
*/