From: Steffen Mueller Date: Fri, 31 Jul 2009 09:14:26 +0000 (+0200) Subject: Mention in apidocs that av_push takes ownership of a refcount X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f629640b47d85ee716c01ebff7cc36202d0f9bb9;p=p5sagit%2Fp5-mst-13.2.git Mention in apidocs that av_push takes ownership of a refcount --- diff --git a/av.c b/av.c index c597ea2..f45a3ea 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, this takes ownership of one +reference count. =cut */