From 1c5316dcfee6e267530cf485b7d6d72df418d985 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Fri, 8 Jun 2018 06:58:37 +0200 Subject: [PATCH] glib-2.0: Fix Bytes.with_free_func() --- vapi/glib-2.0.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index c25a4c72c..5d88988bd 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -5019,7 +5019,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)] -- 2.11.4.GIT