]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: use g_async_queue_new_full instead of g_async_queue_new
authorEvan Nemerson <evan@coeus-group.com>
Tue, 16 Oct 2012 21:47:19 +0000 (14:47 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 16 Oct 2012 21:47:19 +0000 (14:47 -0700)
vapi/glib-2.0.vapi

index 1ae7ba3aaedf1661897ec9307138553ea56d1636..9f473a943e9e9bdb4de4e7b106f6fde026fb2d55 100644 (file)
@@ -1830,6 +1830,7 @@ namespace GLib {
        [Compact]
        [CCode (ref_function = "g_async_queue_ref", unref_function = "g_async_queue_unref")]
        public class AsyncQueue<G> {
+               [CCode (cname = "g_async_queue_new_full", simple_generics = true)]
                public AsyncQueue ();
                public void push (owned G data);
                public void push_sorted (owned G data, CompareDataFunc<G> func);