From f629640b47d85ee716c01ebff7cc36202d0f9bb9 Mon Sep 17 00:00:00 2001 From: Steffen Mueller Date: Fri, 31 Jul 2009 11:14:26 +0200 Subject: [PATCH] Mention in apidocs that av_push takes ownership of a refcount --- av.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.7.4