mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-30 15:56:18 +01:00
svn path=/trunk/; revision=5482
2007-05-03 Behdad Esfahbod <behdad@gnome.org> * configure.in: * glib/glib.symbols: * glib/gthread.h: * glib/gunicode.h: * glib/guniprop.c (g_unichar_ismark): svn path=/trunk/; revision=5482
This commit is contained in:
parent
e7d3db2209
commit
3ed6b66e8f
@ -1,3 +1,9 @@
|
||||
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 ===
|
||||
|
@ -2355,16 +2355,17 @@ g_unichar_validate
|
||||
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
|
||||
|
@ -1305,6 +1305,7 @@ g_unichar_iszerowidth G_GNUC_CONST
|
||||
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
|
||||
|
@ -216,6 +216,7 @@ gboolean g_unichar_isdefined (gunichar c) 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. */
|
||||
|
@ -288,6 +288,30 @@ g_unichar_isspace (gunichar c)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user