summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorVincent Pit <vince@profvince.com>2009-02-07 12:19:01 +0100
committerVincent Pit <vince@profvince.com>2009-02-07 13:13:09 +0100
commitc05a5c573cc9b234dbef1f036d8f00afa0f3144a (patch)
tree04c622a06a62dc23b4649d12ac3af270aefcbaac /sv.c
parent442749d5efa49ff740739d8acc4deb49bf64ff30 (diff)
downloadperl-c05a5c573cc9b234dbef1f036d8f00afa0f3144a.tar.gz
The correct name of PERL_UTF8_magic is PERL_MAGIC_utf8, so use it in sv.c apidocs
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index ae728b1f27..9253168c17 100644
--- a/sv.c
+++ b/sv.c
@@ -5976,7 +5976,7 @@ UTF-8 bytes as a single character. Handles magic and type coercion.
*/
/*
- * The length is cached in PERL_UTF8_magic, in the mg_len field. Also the
+ * The length is cached in PERL_MAGIC_utf8, in the mg_len field. Also the
* mg_ptr is used, by sv_pos_u2b() and sv_pos_b2u() - see the comments below.
* (Note that the mg_len is not the length of the mg_ptr field.
* This allows the cache to store the character length of the string without
@@ -6205,7 +6205,7 @@ type coercion.
/*
* sv_pos_u2b() uses, like sv_pos_b2u(), the mg_ptr of the potential
- * PERL_UTF8_magic of the sv to store the mapping between UTF-8 and
+ * PERL_MAGIC_utf8 of the sv to store the mapping between UTF-8 and
* byte offsets. See also the comments of S_utf8_mg_pos_cache_update().
*
*/
@@ -6448,7 +6448,7 @@ Handles magic and type coercion.
/*
* sv_pos_b2u() uses, like sv_pos_u2b(), the mg_ptr of the potential
- * PERL_UTF8_magic of the sv to store the mapping between UTF-8 and
+ * PERL_MAGIC_utf8 of the sv to store the mapping between UTF-8 and
* byte offsets.
*
*/