]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_memory_output_stream_new binding
authorJürg Billeter <j@bitron.ch>
Mon, 25 Oct 2010 08:06:06 +0000 (10:06 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 25 Oct 2010 08:06:06 +0000 (10:06 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index df524e9fc21f69a566da20bb779d93532271db61..2da225c002c61e4449ee7c0156a04724784e68b0 100644 (file)
@@ -903,7 +903,7 @@ namespace GLib {
        [CCode (cheader_filename = "gio/gio.h")]
        public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
                [CCode (type = "GOutputStream*", has_construct_function = false)]
-               public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[] data, GLib.ReallocFunc? realloc_function, GLib.DestroyNotify? destroy_function);
+               public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function, GLib.DestroyNotify? destroy_function);
                [CCode (array_length = false)]
                public unowned uint8[] get_data ();
                public size_t get_data_size ();
index 380828b06f9962af4f1cc9ff503dd831ebbe0c7c..fec7aea47a5883441c89c362ff88a3beac23076e 100644 (file)
@@ -138,7 +138,7 @@ g_loadable_icon_load_async.cancellable nullable="1"
 g_memory_input_stream_*_data.data type_name="uint8" is_array="1" transfer_ownership="1" array_length_type="gsize"
 g_memory_input_stream_*_data.len hidden="1"
 g_memory_input_stream_*_data.destroy nullable="1"
-g_memory_output_stream_new.data type_name="uint8" is_array="1" transfer_ownership="1" array_length_type="gsize"
+g_memory_output_stream_new.data type_name="uint8" is_array="1" transfer_ownership="1" array_length_type="gsize" nullable="1"
 g_memory_output_stream_new.size hidden="1"
 g_memory_output_stream_new.realloc_function nullable="1"
 g_memory_output_stream_get_data type_name="uint8" is_array="1" no_array_length="1"