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:
Owen Taylor
2001-09-02 17:14:23 +00:00
committed by Owen Taylor
parent b24544c0bc
commit 49fb6c6cc2
12 changed files with 82 additions and 8 deletions

View File

@@ -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)])