New function to calculate collation keys which are more suitable for

2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gunicode.h:
	* glib/gunicollate.c (g_utf8_collate_key_for_filename):
	New function to calculate collation keys which are more
	suitable for sorting filenames.  (#172690, Ole Laursen)
This commit is contained in:
Matthias Clasen
2005-06-08 05:22:05 +00:00
committed by Matthias Clasen
parent cf424bfcdb
commit e6cc98c9cd
9 changed files with 239 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
/* gunicode.h - Unicode manipulation functions
*
* Copyright (C) 1999, 2000 Tom Tromey
* Copyright 2000 Red Hat, Inc.
* Copyright 2000, 2005 Red Hat, Inc.
*
* The Gnome Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License as
@@ -278,6 +278,8 @@ gint g_utf8_collate (const gchar *str1,
const gchar *str2);
gchar *g_utf8_collate_key (const gchar *str,
gssize len) G_GNUC_MALLOC;
gchar *g_utf8_collate_key_for_filename (const gchar *str,
gssize len) G_GNUC_MALLOC;
gboolean g_unichar_get_mirror_char (gunichar ch,
gunichar *mirrored_ch);