gio: Add missing (array length) annotations

https://bugzilla.gnome.org/show_bug.cgi?id=765063
This commit is contained in:
Alisa Maas 2017-09-20 21:17:00 +00:00 committed by Philip Withnall
parent e7a60ed262
commit 8028494335
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.
*

View File

@ -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