NAME ^

src/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(const char *dir)

Set the directory where ICU finds its data files (encodings, locales, etc.).

Character Property Functions ^

UINTVAL Parrot_char_digit_value(Interp *interp, UINTVAL character)

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, Parrot_char_digit_value() can correctly return the decimal digit value of characters for which Parrot_char_is_digit() returns false.

SEE ALSO ^

include/parrot/string_primitives.h

include/parrot/string.h

src/string.c


parrot