mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-26 11:57:51 +02:00
Replace some uses of isspace() with g_ascii_isspace().
Sun Sep 2 13:05:53 2001 Owen Taylor <otaylor@redhat.com> * glib/gstrfuncs.c (g_strchomp): Replace some uses of isspace() with g_ascii_isspace(). * glib/gutf8.c glib/gunicode.h glib/gstrfuncs.[ch]: Add extra indirections to g_utf8_skip and g_ascii_table to avoid great whopping copy relocs.
This commit is contained in:
@@ -160,10 +160,8 @@ gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
||||
gsize *result_len);
|
||||
|
||||
/* Array of skip-bytes-per-initial character.
|
||||
* We prefix variable declarations so they can
|
||||
* properly get exported in Windows DLLs.
|
||||
*/
|
||||
GLIB_VAR char g_utf8_skip[256];
|
||||
GLIB_VAR const gchar * const g_utf8_skip;
|
||||
|
||||
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
||||
|
||||
|
Reference in New Issue
Block a user