From de343f440fedc6e5f1dbb95dee19f10a46ef8794 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 8 Oct 2020 14:20:48 -0600 Subject: perlapi: link to SvPV --- sv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sv.h') 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. When C is true, then the start of the +beginning of a C>. When C is true, then the start of the allocated string buffer is actually C bytes before C. This offset used to be stored in C, 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>. =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 a call to C or one of its variants, in +You should use this I a call to C> 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 pragma, use C> -- cgit v1.2.1