develooper Front page | perl.perl5.porters | Postings from July 2013

Is this small perlapi amendment correct?

Thread Next
From:
Steffen Mueller
Date:
July 19, 2013 05:52
Subject:
Is this small perlapi amendment correct?
Message ID:
51E8D3F5.4070402@cpan.org
Is this correct and useful to apply?

--Steffen

diff --git a/av.c b/av.c
index fb01f48..4a6023b 100644
--- a/av.c
+++ b/av.c
@@ -701,6 +701,9 @@ Shifts an SV off the beginning of the
  array.  Returns C<&PL_sv_undef> if the
  array is empty.

+The caller will own the refcount of the returned SV that was
+previously owned by the AV.
+
  Perl equivalent: C<shift(@myarray);>

  =cut

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About