diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-01-22 09:22:08 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-29 10:26:40 -0700 |
commit | ee0581675983faf457363d22d116d1e71af9dc1c (patch) | |
tree | b1912cf38b4429d9979c88048613f55fe52e8323 /av.c | |
parent | f7f5e97b7a9bb1015c2778e4f6b40b39f1459074 (diff) | |
download | perl-ee0581675983faf457363d22d116d1e71af9dc1c.tar.gz |
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.
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |