summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-08-15 19:59:43 -0600
committerKarl Williamson <khw@cpan.org>2020-08-31 18:15:43 -0600
commiteb992c6fe3eb695f0f4836b9844ec01616381441 (patch)
tree9bc6fd08e285f91eac42e8b7bdc66ae5640ffb65 /utf8.h
parent2de859ce01e2f9e2245611a869f4d041bb48d2ca (diff)
downloadperl-eb992c6fe3eb695f0f4836b9844ec01616381441.tar.gz
Change some link pod for better rendering
C<L</foo>> renders better in places than L</C<foo>>
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/utf8.h b/utf8.h
index 9a2aea914f..59d7df3b01 100644
--- a/utf8.h
+++ b/utf8.h
@@ -539,16 +539,16 @@ If there is a possibility of malformed input, use instead:
=over
-=item L</C<UTF8_SAFE_SKIP>> if you know the maximum ending pointer in the
+=item C<L</UTF8_SAFE_SKIP>> if you know the maximum ending pointer in the
buffer pointed to by C<s>; or
-=item L</C<UTF8_CHK_SKIP>> if you don't know it.
+=item C<L</UTF8_CHK_SKIP>> if you don't know it.
=back
It is better to restructure your code so the end pointer is passed down so that
you know what it actually is at the point of this call, but if that isn't
-possible, L</C<UTF8_CHK_SKIP>> can minimize the chance of accessing beyond the end
+possible, C<L</UTF8_CHK_SKIP>> can minimize the chance of accessing beyond the end
of the input buffer.
=cut
@@ -557,7 +557,7 @@ of the input buffer.
/*
=for apidoc Am|STRLEN|UTF8_SKIP|char* s
-This is a synonym for L</C<UTF8SKIP>>
+This is a synonym for C<L</UTF8SKIP>>
=cut
*/
@@ -567,8 +567,8 @@ This is a synonym for L</C<UTF8SKIP>>
/*
=for apidoc Am|STRLEN|UTF8_CHK_SKIP|char* s
-This is a safer version of L</C<UTF8SKIP>>, but still not as safe as
-L</C<UTF8_SAFE_SKIP>>. This version doesn't blindly assume that the input
+This is a safer version of C<L</UTF8SKIP>>, but still not as safe as
+C<L</UTF8_SAFE_SKIP>>. This version doesn't blindly assume that the input
string pointed to by C<s> is well-formed, but verifies that there isn't a NUL
terminating character before the expected end of the next character in C<s>.
The length C<UTF8_CHK_SKIP> returns stops just before any such NUL.
@@ -579,7 +579,7 @@ beyond the end of the input buffer, even if it is malformed UTF-8.
This macro is intended to be used by XS modules where the inputs could be
malformed, and it isn't feasible to restructure to use the safer
-L</C<UTF8_SAFE_SKIP>>, for example when interfacing with a C library.
+C<L</UTF8_SAFE_SKIP>>, for example when interfacing with a C library.
=cut
*/