Document limitations of this function. (#487909, Peter Moulder)

2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutf8.c (g_utf8_strreverse): Document limitations
        of this function.  (#487909, Peter Moulder)



svn path=/trunk/; revision=6391
This commit is contained in:
Matthias Clasen 2008-01-28 03:15:23 +00:00 committed by Matthias Clasen
parent 76e53c6ed3
commit 137fdf9089
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,11 @@
2008-01-27 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: (group_list_has_visible_entries):
* glib/gutf8.c (g_utf8_strreverse): Document limitations
of this function. (#487909, Peter Moulder)
2008-01-27 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (group_list_has_visible_entries):
Removed unused variable is_main_group. (#512381,
Wouter Bolsterlee)

View File

@ -1773,6 +1773,12 @@ g_unichar_validate (gunichar ch)
* (Use g_utf8_validate() on all text before trying to use UTF-8
* utility functions with it.)
*
* This function is intended for programmatic uses of reversed strings.
* It pays no attention to decomposed characters, combining marks, byte
* order marks, directional indicators (LRM, LRO, etc) and similar
* characters which might need special handling when reversing a string
* for display purposes.
*
* Note that unlike g_strreverse(), this function returns
* newly-allocated memory, which should be freed with g_free() when
* no longer needed.