summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-08 14:20:48 -0600
committerKarl Williamson <khw@cpan.org>2020-12-30 07:08:52 -0700
commitde343f440fedc6e5f1dbb95dee19f10a46ef8794 (patch)
tree0a910d823347161e0998b60032d519e4acff72b3 /sv.h
parentac950c896259b18f7198cb1afc8ac44ab5eb9072 (diff)
downloadperl-de343f440fedc6e5f1dbb95dee19f10a46ef8794.tar.gz
perlapi: link to SvPV
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.h b/sv.h
index 1a5aa31df9..ba701ed1a6 100644
--- a/sv.h
+++ b/sv.h
@@ -747,7 +747,7 @@ Returns a boolean indicating whether the SV contains a v-string.
=for apidoc Am|U32|SvOOK|SV* sv
Returns a U32 indicating whether the pointer to the string buffer is offset.
This hack is used internally to speed up removal of characters from the
-beginning of a C<SvPV>. When C<SvOOK> is true, then the start of the
+beginning of a C<L</SvPV>>. When C<SvOOK> is true, then the start of the
allocated string buffer is actually C<SvOOK_offset()> bytes before C<SvPVX>.
This offset used to be stored in C<SvIVX>, but is now stored within the spare
part of the buffer.
@@ -922,7 +922,7 @@ Set the size of the string buffer for the SV. See C<L</SvLEN>>.
=for apidoc Am|U32|SvUTF8|SV* sv
Returns a U32 value indicating the UTF-8 status of an SV. If things are set-up
properly, this indicates whether or not the SV contains UTF-8 encoded data.
-You should use this I<after> a call to C<SvPV()> or one of its variants, in
+You should use this I<after> a call to C<L</SvPV>> or one of its variants, in
case any call to string overloading updates the internal flag.
If you want to take into account the L<bytes> pragma, use C<L</DO_UTF8>>