+2007-07-19 Behdad Esfahbod <behdad@gnome.org>
+
+ * glib/glib.symbols:
+ * glib/gunicode.h:
+ * glib/gunicodeprivate.h:
+ * glib/gunidecomp.c (g_unichar_combining_class):
+ * glib/guniprop.c (has_more_above):
+ Make g_unichar_combining_class() public. (#453998)
+
Fri Jul 13 01:01:46 2007 Tim Janik <timj@imendio.com>
* glib/gthread.[hc]: more atomic ops pointer cast fixes. this time it'll
+2007-07-19 Behdad Esfahbod <behdad@gnome.org>
+
+ * glib/glib-sections.txt:
+
2007-07-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.7 ===
g_unichar_type
GUnicodeBreakType
g_unichar_break_type
+g_unichar_combining_class
g_unicode_canonical_ordering
g_unicode_canonical_decomposition
g_unichar_get_mirror_char
#if IN_FILE(__G_UNIDECOMP_C__)
g_unicode_canonical_decomposition G_GNUC_MALLOC
g_unicode_canonical_ordering
+g_unicode_combining_class
g_utf8_normalize
#endif
#endif
/* Return the line break property for a given character */
GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST;
+/* Returns the combining class for a given character */
+gint g_unichar_combining_class (gunichar uc); G_GNUC_CONST;
+
/* Compute canonical ordering of a string in-place. This rearranges
decomposed characters in the string according to their combining
(const gchar *str,
gssize max_len,
GNormalizeMode mode);
-G_GNUC_INTERNAL gint _g_unichar_combining_class (gunichar uc);
G_END_DECLS
? CC_PART2 (((Char) - 0xe0000) >> 8, (Char) & 0xff) \
: 0))
+/**
+ * g_unichar_combining_class:
+ * @c: a Unicode character
+ *
+ * Determines the canonical combining class of a Unicode character.
+ *
+ * Return value: the combining class of the character.
+ *
+ * Since: 2.14
+ **/
gint
-_g_unichar_combining_class (gunichar uc)
+g_unichar_combining_class (gunichar uc)
{
return COMBINING_CLASS (uc);
}
while (*p)
{
- combining_class = _g_unichar_combining_class (g_utf8_get_char (p));
+ combining_class = g_unichar_combining_class (g_utf8_get_char (p));
if (combining_class == 230)
return TRUE;
else if (combining_class == 0)