[svn:parrot] r36254 - trunk/docs/pdds
allison at svn.parrot.org
allison at svn.parrot.org
Sun Feb 1 20:10:06 UTC 2009
Author: allison
Date: Sun Feb 1 20:10:05 2009
New Revision: 36254
URL: https://trac.parrot.org/parrot/changeset/36254
Log:
[pdd] A clearer name for functions looking up a character in a string by index.
Modified:
trunk/docs/pdds/pdd28_strings.pod
Modified: trunk/docs/pdds/pdd28_strings.pod
==============================================================================
--- trunk/docs/pdds/pdd28_strings.pod Sun Feb 1 20:05:16 2009 (r36253)
+++ trunk/docs/pdds/pdd28_strings.pod Sun Feb 1 20:10:05 2009 (r36254)
@@ -425,7 +425,7 @@
C<Parrot_find_encoding> and C<Parrot_find_charset> can look up the encoding or
character set structs. }}
-=head3 Parrot_str_constant_new (was const_string)
+=head3 Parrot_str_new_constant (was const_string)
Creates and returns a new Parrot constant string. Takes one C string (a C<char
*>) as an argument, the value of the constant string. The length of the C
@@ -455,13 +455,13 @@
differently than other characters. This is equivalent to accessing the
C<strlen> member of the C<STRING> struct directly.
-=head3 Parrot_str_index (was string_index)
+=head3 Parrot_str_indexed (was string_index)
Returns the character at the specified index (the Nth character from the start
of the string). Combining characters are counted separately. Variable-width
encodings will lookahead to capture full character values.
-=head3 Parrot_str_grapheme_index
+=head3 Parrot_str_grapheme_indexed
Returns the grapheme at the given index (the Nth grapheme from the string's
start). Groups of combining characters count as a single grapheme, so this
More information about the parrot-commits
mailing list