Document that GUnicodeScript is interchangeable with PangoScript.

2007-08-20  Behdad Esfahbod  <behdad@gnome.org>

        * glib/tmpl/unicode.sgml: Document that GUnicodeScript is
        interchangeable with PangoScript.

2007-08-20  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c: Document that g_unichar_get_script() is
        equivalent to pango_script_for_unichar().


svn path=/trunk/; revision=5713
This commit is contained in:
Behdad Esfahbod 2007-08-21 02:51:11 +00:00 committed by Behdad Esfahbod
parent bf04380d3c
commit 9d6ace02aa
4 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c: Document that g_unichar_get_script() is
equivalent to pango_script_for_unichar().
2007-08-20 Behdad Esfahbod <behdad@gnome.org> 2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* glib/gmappedfile.c: * glib/gmappedfile.c:

View File

@ -1,3 +1,8 @@
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* glib/tmpl/unicode.sgml: Document that GUnicodeScript is
interchangeable with PangoScript.
2007-08-20 Behdad Esfahbod <behdad@gnome.org> 2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* glib/tmpl/spawn.sgml: * glib/tmpl/spawn.sgml:

View File

@ -411,7 +411,8 @@ See <ulink url="http://www.unicode.org/unicode/reports/tr14/"
<para> <para>
The #GUnicodeScript enumeration identifies different writing The #GUnicodeScript enumeration identifies different writing
systems. The values correspond to the names as defined in the systems. The values correspond to the names as defined in the
Unicode standard. The enumeration has been added in GLib 2.14. Unicode standard. The enumeration has been added in GLib 2.14,
and is interchangeable with #PangoScript.
Note that new types may be added in the future. Applications Note that new types may be added in the future. Applications
should be ready to handle unknown values. should be ready to handle unknown values.
See <ulink See <ulink

View File

@ -1286,6 +1286,9 @@ g_unichar_get_script_bsearch (gunichar ch)
* by Unicode Standard Annex #24). No check is made for @ch being a * by Unicode Standard Annex #24). No check is made for @ch being a
* valid Unicode character; if you pass in invalid character, the * valid Unicode character; if you pass in invalid character, the
* result is undefined. * result is undefined.
*
* This function is equivalent to pango_script_for_unichar() and the
* two are interchangeable.
* *
* Return value: the #GUnicodeScript for the character. * Return value: the #GUnicodeScript for the character.
* *