NAME
src/string/string_primitives.c - String Primitives
DESCRIPTION
This file collects together all the functions that call into the ICU API.
Functions
void string_set_data_directory
Set the directory where ICU finds its data files (encodings,
locales,
etc.).
Parrot_UInt4 string_unescape_one
Unescape a single character.
We assume that we're at the start of a sequence,
right after the \.
Character Property Functions
INTVAL Parrot_char_digit_value
Returns the decimal digit value of the specified character if it is a decimal digit character.
If not,
then -1 is returned.Note that as currently written,
char *str_dup
Duplicate a C string.
Just like strdup(),
except it dies if it runs out of memory.
char *str_dup
Duplicates a C string.
Just like strdup(),
except it dies if it runs out of memory.
Parrot_char_digit_value()
can correctly return the decimal digit value of characters for which Parrot_char_is_digit()
returns false.