]> 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)
committerJürg Billeter <j@bitron.ch>
Sun, 11 Nov 2012 12:54:22 +0000 (13:54 +0100)
vapi/glib-2.0.vapi

index 9ee6ff9953033405557c1143746b57878b615300..aacf46342568c759e20752a363139e8d5a16b289 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);