[vala] gio-2.0: Fix g_data_input_stream_read_upto binding



commit 41734a03453da06273e2d7dda27732d30eca6d47
Author: Jürg Billeter <j bitron ch>
Date:   Mon Oct 25 14:10:42 2010 +0200

    gio-2.0: Fix g_data_input_stream_read_upto binding

 vapi/gio-2.0.vapi                      |    4 ++--
 vapi/packages/gio-2.0/gio-2.0.metadata |    4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2da225c..c9fe08e 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -496,8 +496,8 @@ namespace GLib {
 		public uint64 read_uint64 (GLib.Cancellable? cancellable = null) throws GLib.Error;
 		public string? read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
 		public async string? read_until_async (string stop_chars, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t? length = null) throws GLib.Error;
-		public unowned string read_upto (string stop_chars, ssize_t stop_chars_len, size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
-		public async unowned string read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+		public string? read_upto (string stop_chars, ssize_t stop_chars_len, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error;
+		public async string? read_upto_async (string stop_chars, ssize_t stop_chars_len, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t? length = null) throws GLib.Error;
 		public void set_byte_order (GLib.DataStreamByteOrder order);
 		public void set_newline_type (GLib.DataStreamNewlineType type);
 		public GLib.DataStreamByteOrder byte_order { get; set; }
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 76af646..91b1fef 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -41,6 +41,10 @@ g_data_input_stream_read_until nullable="1" transfer_ownership="1"
 g_data_input_stream_read_until.length is_out="1"
 g_data_input_stream_read_until_finish nullable="1" transfer_ownership="1"
 g_data_input_stream_read_until_finish.length nullable="1" transfer_ownership="1" default_value="null" is_out="1"
+g_data_input_stream_read_upto nullable="1" transfer_ownership="1"
+g_data_input_stream_read_upto.length is_out="1"
+g_data_input_stream_read_upto_finish nullable="1" transfer_ownership="1"
+g_data_input_stream_read_upto_finish.length nullable="1" transfer_ownership="1" default_value="null" is_out="1"
 g_dbus_address_get_stream async="1"
 g_dbus_connection_call async="1"
 g_dbus_connection_call_finish transfer_ownership="1"



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