From: Vincent Pit Date: Sat, 7 Feb 2009 11:19:01 +0000 (+0100) Subject: The correct name of PERL_UTF8_magic is PERL_MAGIC_utf8, so use it in sv.c apidocs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c05a5c573cc9b234dbef1f036d8f00afa0f3144a;p=p5sagit%2Fp5-mst-13.2.git The correct name of PERL_UTF8_magic is PERL_MAGIC_utf8, so use it in sv.c apidocs --- diff --git a/sv.c b/sv.c index ae728b1..9253168 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. * */