From ee0581675983faf457363d22d116d1e71af9dc1c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 22 Jan 2011 09:22:08 -0700 Subject: 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. --- av.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'av.c') 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, this takes ownership of one -reference count. +to accommodate the addition. This takes ownership of one reference count. =cut */ -- cgit v1.2.1