mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gio: Add missing (array length) annotations
https://bugzilla.gnome.org/show_bug.cgi?id=765063
This commit is contained in:
parent
e7a60ed262
commit
8028494335
@ -1292,7 +1292,7 @@ g_data_input_stream_read_until_finish (GDataInputStream *stream,
|
||||
/**
|
||||
* g_data_input_stream_read_upto:
|
||||
* @stream: a #GDataInputStream
|
||||
* @stop_chars: characters to terminate the read
|
||||
* @stop_chars: (array length=stop_chars_len): characters to terminate the read
|
||||
* @stop_chars_len: length of @stop_chars. May be -1 if @stop_chars is
|
||||
* nul-terminated
|
||||
* @length: (out) (optional): a #gsize to get the length of the data read in
|
||||
@ -1384,7 +1384,7 @@ g_data_input_stream_read_upto (GDataInputStream *stream,
|
||||
/**
|
||||
* g_data_input_stream_read_upto_async:
|
||||
* @stream: a #GDataInputStream
|
||||
* @stop_chars: characters to terminate the read
|
||||
* @stop_chars: (array length=stop_chars_len): characters to terminate the read
|
||||
* @stop_chars_len: length of @stop_chars. May be -1 if @stop_chars is
|
||||
* nul-terminated
|
||||
* @io_priority: the [I/O priority][io-priority] of the request
|
||||
|
@ -172,7 +172,7 @@ g_dbus_error_quark (void)
|
||||
* g_dbus_error_register_error_domain:
|
||||
* @error_domain_quark_name: The error domain name.
|
||||
* @quark_volatile: A pointer where to store the #GQuark.
|
||||
* @entries: A pointer to @num_entries #GDBusErrorEntry struct items.
|
||||
* @entries: (array length=num_entries): A pointer to @num_entries #GDBusErrorEntry struct items.
|
||||
* @num_entries: Number of items to register.
|
||||
*
|
||||
* Helper function for associating a #GError error domain with D-Bus error names.
|
||||
|
@ -313,7 +313,7 @@ g_dbus_generate_guid (void)
|
||||
|
||||
/**
|
||||
* g_dbus_is_guid:
|
||||
* @string: The string to check.
|
||||
* @string: (array fixed-size=33): The string to check.
|
||||
*
|
||||
* Checks if @string is a D-Bus GUID.
|
||||
*
|
||||
|
@ -266,7 +266,7 @@ g_tls_password_get_value (GTlsPassword *password,
|
||||
/**
|
||||
* g_tls_password_set_value:
|
||||
* @password: a #GTlsPassword object
|
||||
* @value: the new password value
|
||||
* @value: (array length=length): the new password value
|
||||
* @length: the length of the password, or -1
|
||||
*
|
||||
* Set the value for this password. The @value will be copied by the password
|
||||
|
Loading…
Reference in New Issue
Block a user