[vala] gio-2.0: "inbuf" argument of Converter.convert() is not nullable



commit 4313a9e42edbba774a6852bf095bf11bbef32e8d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Feb 8 08:24:20 2016 +0100

    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 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index d572dc9..7397876 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 57dfa4e..c3dd438 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]