+2007-05-03 Behdad Esfahbod <behdad@gnome.org>
+
+ * glib/glib-sections.txt:
+ * glib/tmpl/messages.sgml:
+ Add g_unichar_ismark().
+
2007-05-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.13.1 ===
g_unichar_isalnum
g_unichar_isalpha
g_unichar_iscntrl
+g_unichar_isdefined
g_unichar_isdigit
g_unichar_isgraph
g_unichar_islower
+g_unichar_ismark
g_unichar_isprint
g_unichar_ispunct
g_unichar_isspace
+g_unichar_istitle
g_unichar_isupper
g_unichar_isxdigit
-g_unichar_istitle
-g_unichar_isdefined
g_unichar_iswide
g_unichar_iswide_cjk
g_unichar_iszerowidth
g_unichar_tolower G_GNUC_CONST
g_unichar_totitle G_GNUC_CONST
g_unichar_toupper G_GNUC_CONST
+g_unichar_ismark G_GNUC_CONST
g_unichar_get_mirror_char
g_unichar_get_script
g_unichar_digit_value G_GNUC_CONST
gboolean g_unichar_iswide (gunichar c) G_GNUC_CONST;
gboolean g_unichar_iswide_cjk(gunichar c) G_GNUC_CONST;
gboolean g_unichar_iszerowidth(gunichar c) G_GNUC_CONST;
+gboolean g_unichar_ismark (gunichar c) G_GNUC_CONST;
/* More <ctype.h> functions. These convert between the three cases.
* See the Unicode book to understand title case. */
}
/**
+ * g_unichar_ismark:
+ * @c: a Unicode character
+ *
+ * Determines whether a character is a mark (non-spacing mark,
+ * combining mark, or enclosing mark in Unicode speak).
+ * Given some UTF-8 text, obtain a character value
+ * with g_utf8_get_char().
+ *
+ * Note: in most cases where isalpha characters are allowed,
+ * ismark characters should be allowed to as they are essential
+ * for writing most European languages as well as many non-Latin
+ * scripts.
+ *
+ * Return value: %TRUE if @c is a mark character
+ *
+ * Since: 2.14
+ **/
+gboolean
+g_unichar_ismark (gunichar c)
+{
+ return ISMARK (TYPE (c));
+}
+
+/**
* g_unichar_isupper:
* @c: a Unicode character
*