Commit 5ac55f41 authored by Evan Nemerson's avatar Evan Nemerson

gio-2.0: make DataInputStream.read_line*.length default to null

parent fd356687
......@@ -853,9 +853,9 @@ namespace GLib {
public int32 read_int32 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
public int64 read_int64 (GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (array_length = false, array_null_terminated = true)]
public string? read_line (out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public string? read_line (out size_t length = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (array_length = false, array_null_terminated = true)]
public async string? read_line_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
public async string? read_line_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length = null) throws GLib.IOError, GLib.IOError;
public string? read_line_utf8 (out size_t length, GLib.Cancellable? cancellable = null) throws GLib.IOError;
[CCode (cname = "g_data_input_stream_read_line_async", finish_function = "g_data_input_stream_read_line_finish_utf8")]
public async string? read_line_utf8_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, out size_t length) throws GLib.IOError, GLib.IOError;
......
......@@ -330,6 +330,8 @@ TlsCertificate abstract=false
DataInputStream
.read_line type="string?"
.read_line_finish type="string?"
.read_line_finish.length default=null
.read_line.length default=null
// Forward upstream
content_type_from_mime_type nullable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment