[vala/0.10] gio-2.0: Fix g_data_input_stream_read_upto binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gio-2.0: Fix g_data_input_stream_read_upto binding
- Date: Tue, 26 Oct 2010 18:30:49 +0000 (UTC)
commit ba51bd3ac599131786de4868dca3ff2343e20709
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 a40279e..c161f6e 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -434,8 +434,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.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.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.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 5a4e4d9..807c4b9 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -30,6 +30,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]