]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: add g_qsort_with_data binding
authorEvan Nemerson <evan@coeus-group.com>
Sun, 16 May 2010 21:34:45 +0000 (14:34 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sun, 16 May 2010 21:34:45 +0000 (14:34 -0700)
vapi/glib-2.0.vapi

index 0f21224af23092e2dcde829e0f613d1b4e0ae6ab..54d27c445a416c43388cd5b7646ee423b03b882d 100644 (file)
@@ -3981,4 +3981,7 @@ namespace GLib {
        public static bool unlikely (bool expression);
        [CCode (cname = "G_STATIC_ASSERT", cheader_filename = "glib.h")]
        public static void static_assert (bool expression);
+
+       [CCode (simple_generics = true)]
+       private static void qsort_with_data<T> (T[] elems, size_t size, [CCode (type = "GCompareDataFunc")] GLib.CompareDataFunc compare_func);
 }