[vala] glib-2.0: add g_qsort_with_data binding



commit 8138205feb185e74592b9fd6d0da9b7b7272589d
Author: Evan Nemerson <evan coeus-group com>
Date:   Sun May 16 14:34:45 2010 -0700

    glib-2.0: add g_qsort_with_data binding

 vapi/glib-2.0.vapi |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 0f21224..54d27c4 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]