]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add g_utf8_collate_key* bindings
authorSimon Wenner <simon@wenner.ch>
Wed, 9 Jun 2010 21:35:41 +0000 (23:35 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 20 Jun 2010 19:04:07 +0000 (21:04 +0200)
Fixes bug 621151.

vapi/glib-2.0.vapi

index b8b8dc227897351765a12e5f1a4204033f79c561..66635b489ae479019c0393cc9fbd36f28e034192 100644 (file)
@@ -989,6 +989,10 @@ public class string {
        public string casefold (ssize_t len = -1);
        [CCode (cname = "g_utf8_collate")]
        public int collate (string str2);
+       [CCode (cname = "g_utf8_collate_key")]
+       public string collate_key (ssize_t len = -1);
+       [CCode (cname = "g_utf8_collate_key_for_filename")]
+       public string collate_key_for_filename (ssize_t len = -1);
 
        [CCode (cname = "g_locale_to_utf8")]
        public string locale_to_utf8 (ssize_t len, out size_t bytes_read, out size_t bytes_written, out GLib.Error error = null);