mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
Bug 541507 – Ambiguous description of assigned characters in the Glib
2008-07-04 Behdad Esfahbod <behdad@gnome.org> Bug 541507 – Ambiguous description of assigned characters in the Glib Unicode Manipulation reference * glib/guniprop.c (g_unichar_isgraph): Return true for PrivateUse too. (g_unichar_isprint): Return true for PrivateUse too. (g_unichar_isdefined): Return false for Surrogate. svn path=/trunk/; revision=7161
This commit is contained in:
parent
7daf442b7a
commit
e9a316866d
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2008-07-04 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
Bug 541507 – Ambiguous description of assigned characters in the Glib
|
||||
Unicode Manipulation reference
|
||||
|
||||
* glib/guniprop.c
|
||||
(g_unichar_isgraph): Return true for PrivateUse too.
|
||||
(g_unichar_isprint): Return true for PrivateUse too.
|
||||
(g_unichar_isdefined): Return false for Surrogate.
|
||||
|
||||
2008-07-04 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
Bug 541208 – Functions to easily install and use signals without
|
||||
|
@ -175,10 +175,9 @@ g_unichar_isgraph (gunichar c)
|
||||
OR (G_UNICODE_CONTROL,
|
||||
OR (G_UNICODE_FORMAT,
|
||||
OR (G_UNICODE_UNASSIGNED,
|
||||
OR (G_UNICODE_PRIVATE_USE,
|
||||
OR (G_UNICODE_SURROGATE,
|
||||
OR (G_UNICODE_SPACE_SEPARATOR,
|
||||
0)))))));
|
||||
0))))));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -216,9 +215,8 @@ g_unichar_isprint (gunichar c)
|
||||
OR (G_UNICODE_CONTROL,
|
||||
OR (G_UNICODE_FORMAT,
|
||||
OR (G_UNICODE_UNASSIGNED,
|
||||
OR (G_UNICODE_PRIVATE_USE,
|
||||
OR (G_UNICODE_SURROGATE,
|
||||
0))))));
|
||||
0)))));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -377,7 +375,10 @@ g_unichar_isxdigit (gunichar c)
|
||||
gboolean
|
||||
g_unichar_isdefined (gunichar c)
|
||||
{
|
||||
return TYPE (c) != G_UNICODE_UNASSIGNED;
|
||||
return !IS (TYPE(c),
|
||||
OR (G_UNICODE_UNASSIGNED,
|
||||
OR (G_UNICODE_SURROGATE,
|
||||
0)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user