From: Rico Tzschichholz Date: Fri, 8 Jun 2018 04:58:37 +0000 (+0200) Subject: glib-2.0: Fix Bytes.with_free_func() X-Git-Tag: 0.41.90~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0306127573617a1a3b36cf08f483e709f46ff449;p=thirdparty%2Fvala.git glib-2.0: Fix Bytes.with_free_func() --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 78a8b9cde..65c5bd755 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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)]