GrafX2 2.9.3227
The ultimate 256-color painting program
|
Functions | |
size_t | Unicode_strlen (const word *str) |
equivalent of strlen() for out Unicode strings return the number of characters (words), so there is twice as much bytes More... | |
word * | Unicode_strdup (const word *str) |
equivalent of strdup() for our Unicode strings More... | |
void | Unicode_strlcpy (word *dst, const word *src, size_t len) |
Copy unicode string. More... | |
void | Unicode_strlcat (word *dst, const word *src, size_t len) |
concatenate unicode string More... | |
int | Unicode_strcmp (const word *s1, const word *s2) |
Compare two unicode strings. More... | |
int | Unicode_char_strcmp (const word *s1, const char *s2) |
Compare an unicode string with a regular Latin1 string. More... | |
int | Unicode_char_strcasecmp (const word *s1, const char *s2) |
Compare an unicode string with a regular Latin1 string. Ignoring case. More... | |
void | Unicode_char_strlcpy (word *dst, const char *src, size_t len) |
Copy a regular Latin1 string to an unicode string. More... | |
void | Unicode_char_strlcat (word *dst, const char *src, size_t len) |
Append a regular Latin1 string to an unicode string. More... | |
size_t Unicode_strlen | ( | const word * | str | ) |
equivalent of strlen() for out Unicode strings return the number of characters (words), so there is twice as much bytes
Referenced by Button_Load_or_Save(), Display_bookmark(), Load_Recoil_Image(), Look_for_alternate_ext(), Open_file_read_with_alternate_ext(), Open_file_write(), Open_file_write_with_alternate_ext(), Prepend_string_unicode(), Print_current_directory(), Print_filename(), Print_in_window_limited_unicode(), Quicksearch(), Readline_ex_unicode(), Save_SCx(), Unicode_char_strlcat(), Unicode_strdup(), and Unicode_strlcat().
equivalent of strdup() for our Unicode strings
References GFX2_malloc, NULL, and Unicode_strlen().
Referenced by Backup_with_new_dimensions(), Button_Autosave(), Button_Load_or_Save(), Copy_S_page(), Get_selected_item(), GFX2_GetTextClipboard(), Init_program(), Load_image(), Load_picture(), Look_for_alternate_ext(), Main_handler(), Print_in_window_limited_unicode(), Read_dir_callback(), and Save_picture().
Copy unicode string.
Referenced by Button_Load_or_Save(), Print_current_directory(), Print_filename(), Print_filename_in_fileselector(), Readline_ex_unicode(), and Unicode_strlcat().
concatenate unicode string
Append unicode string to another.
References Unicode_strlcpy(), and Unicode_strlen().
Referenced by Open_file_write(), and Open_file_write_with_alternate_ext().
int Unicode_char_strcmp | ( | const word * | s1, |
const char * | s2 | ||
) |
Compare an unicode string with a regular Latin1 string.
Referenced by Format_filename_unicode().
int Unicode_char_strcasecmp | ( | const word * | s1, |
const char * | s2 | ||
) |
Compare an unicode string with a regular Latin1 string. Ignoring case.
Referenced by Look_for_alternate_ext().
void Unicode_char_strlcpy | ( | word * | dst, |
const char * | src, | ||
size_t | len | ||
) |
Copy a regular Latin1 string to an unicode string.
Referenced by Button_Load_or_Save(), For_each_directory_entry(), Format_filename_unicode(), Open_file_write(), Open_file_write_with_alternate_ext(), Print_filename(), Readline_ex_unicode(), and Unicode_char_strlcat().
void Unicode_char_strlcat | ( | word * | dst, |
const char * | src, | ||
size_t | len | ||
) |
Append a regular Latin1 string to an unicode string.
References Unicode_char_strlcpy(), and Unicode_strlen().
Referenced by Button_Load_or_Save(), For_each_directory_entry(), Open_file_write(), Open_file_write_with_alternate_ext(), and Readline_ex_unicode().