From 4313a9e42edbba774a6852bf095bf11bbef32e8d Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 8 Feb 2016 08:24:20 +0100 Subject: [PATCH] gio-2.0: "inbuf" argument of Converter.convert() is not nullable --- vapi/gio-2.0.vapi | 2 +- vapi/metadata/Gio-2.0.metadata | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index d572dc931..7397876ed 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -3145,7 +3145,7 @@ namespace GLib { [CCode (cheader_filename = "gio/gio.h", type_id = "g_converter_get_type ()")] [Version (since = "2.24")] public interface Converter : GLib.Object { - public abstract GLib.ConverterResult convert ([CCode (array_length_cname = "inbuf_size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[]? inbuf, [CCode (array_length_cname = "outbuf_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] outbuf, GLib.ConverterFlags flags, out size_t bytes_read, out size_t bytes_written) throws GLib.Error; + public abstract GLib.ConverterResult convert ([CCode (array_length_cname = "inbuf_size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] inbuf, [CCode (array_length_cname = "outbuf_size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] outbuf, GLib.ConverterFlags flags, out size_t bytes_read, out size_t bytes_written) throws GLib.Error; public abstract void reset (); } [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_interface_get_type ()")] diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index 57dfa4e1b..c3dd438d5 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -369,6 +369,8 @@ ActionGroup .get_action_enabled nullable=false .get_action_state_type unowned AsyncReadyCallback.source_object nullable +Converter + .convert.inbuf nullable=false DBusMessage .get_body unowned DBusSubtreeVTable.enumerate skip=false -- 2.47.2