summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-03 10:38:23 +0000
committerDavid Mitchell <davem@iabyn.com>2015-12-03 10:38:23 +0000
commit0ff57aee45f10b3b7f1fe376f32d2dd4fc9a9848 (patch)
tree1deb9d8bcc5bbf5844991b7c1020cd44cf6bd937 /sv.h
parent2305393164b3d13f11b4ce5297bb8a40499936b7 (diff)
downloadperl-0ff57aee45f10b3b7f1fe376f32d2dd4fc9a9848.tar.gz
fix the API description of SvLEN_set()
RT #126245 Make it clearer that is the buffer length being specified, not the string length. Also, change the 'See "SvIV_set"' to SvLEN. That appears to be a cut and paste error. Based on suggested wording from jazzkutya@gmail.com
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 313bfb8517..33a0b7bca3 100644
--- a/sv.h
+++ b/sv.h
@@ -838,7 +838,7 @@ Set the current length of the string which is in the SV. See C<L</SvCUR>>
and C<SvIV_set>>.
=for apidoc Am|void|SvLEN_set|SV* sv|STRLEN len
-Set the actual length of the string which is in the SV. See C<L</SvIV_set>>.
+Set the size of the string buffer for the SV. See C<L</SvLEN>>.
=cut
*/