summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-01-09 13:33:21 -0700
committerKarl Williamson <public@khwilliamson.com>2011-01-09 19:29:02 -0700
commit6ee84de2b1afaa2b442cdbaa59f3cf83e3a562e1 (patch)
treefb3825e215b891f26ea8ee31262209a19192a891 /utf8.c
parent0876b9a01ce95023535c197900c755d5c98d616f (diff)
downloadperl-6ee84de2b1afaa2b442cdbaa59f3cf83e3a562e1.tar.gz
utf8.c: Nits in pod
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/utf8.c b/utf8.c
index 9cc4d8963c..5b4dddeae7 100644
--- a/utf8.c
+++ b/utf8.c
@@ -88,8 +88,8 @@ Perl_is_ascii_string(const U8 *s, STRLEN len)
/*
=for apidoc uvuni_to_utf8_flags
-Adds the UTF-8 representation of the Unicode codepoint C<uv> to the end
-of the string C<d>; C<d> should be have at least C<UTF8_MAXBYTES+1> free
+Adds the UTF-8 representation of the code point C<uv> to the end
+of the string C<d>; C<d> should have at least C<UTF8_MAXBYTES+1> free
bytes available. The return value is the pointer to the byte after the
end of the new character. In other words,
@@ -660,7 +660,7 @@ malformed:
/*
=for apidoc utf8_to_uvchr
-Returns the native character value of the first character in the string C<s>
+Returns the native code point of the first character in the string C<s>
which is assumed to be in UTF-8 encoding; C<retlen> will be set to the
length, in bytes, of that character.
@@ -2589,7 +2589,7 @@ Perl__swash_inversion_hash(pTHX_ SV* swash)
/*
=for apidoc uvchr_to_utf8
-Adds the UTF-8 representation of the Native codepoint C<uv> to the end
+Adds the UTF-8 representation of the Native code point C<uv> to the end
of the string C<d>; C<d> should be have at least C<UTF8_MAXBYTES+1> free
bytes available. The return value is the pointer to the byte after the
end of the new character. In other words,
@@ -2624,14 +2624,13 @@ Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
/*
=for apidoc utf8n_to_uvchr
-flags
Returns the native character value of the first character in the string
C<s>
which is assumed to be in UTF-8 encoding; C<retlen> will be set to the
length, in bytes, of that character.
-Allows length and flags to be passed to low level routine.
+length and flags are the same as utf8n_to_uvuni().
=cut
*/