projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f5e97
)
perlapi: Clarify statement about av_push()
author
Karl Williamson
<public@khwilliamson.com>
Sat, 22 Jan 2011 16:22:08 +0000
(09:22 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Sat, 29 Jan 2011 17:26:40 +0000
(10:26 -0700)
Contrary to the previous text, av_store() requires the user to deal with the
reference count of the scalar being added.
av.c
patch
|
blob
|
history
diff --git
a/av.c
b/av.c
index
8408220
..
776dafd
100644
(file)
--- 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<av_store>, this takes ownership of one
-reference count.
+to accommodate the addition. This takes ownership of one reference count.
=cut
*/