]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix Bytes.with_free_func()
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 8 Jun 2018 04:58:37 +0000 (06:58 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Jun 2018 11:05:16 +0000 (13:05 +0200)
vapi/glib-2.0.vapi

index 78a8b9cded5f715023a6987cd2c3b7704597b448..65c5bd755b4f5312ac9fb390855c459dfb58f3dc 100644 (file)
@@ -5032,7 +5032,7 @@ namespace GLib {
                public Bytes ([CCode (array_length_type = "gsize")] uint8[] data);
                public Bytes.take ([CCode (array_length_type = "gsize")] owned uint8[] data);
                public Bytes.static ([CCode (array_length_type = "gsize")] uint8[] data);
-               public Bytes.with_free_func ([CCode (array_length_type = "gsize")] owned uint8[] data, GLib.DestroyNotify? free_func = GLib.g_free);
+               public Bytes.with_free_func ([CCode (array_length_type = "gsize")] owned uint8[] data, GLib.DestroyNotify? free_func, void* user_data);
                public Bytes.from_bytes (GLib.Bytes bytes, size_t offset, size_t length);
 
                [CCode (cname = "g_bytes_new_with_free_func", simple_generics = true)]