mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
gio: add some missing array annotations with their element-type
This commit is contained in:
parent
85997d9eeb
commit
47c9b1e315
@ -152,8 +152,8 @@ g_action_map_remove_action (GActionMap *action_map,
|
||||
/**
|
||||
* g_action_map_add_action_entries:
|
||||
* @action_map: a #GActionMap
|
||||
* @entries: a pointer to the first item in an array of #GActionEntry
|
||||
* structs
|
||||
* @entries: (array length=n_entries) (element-type GActionEntry): a pointer to
|
||||
* the first item in an array of #GActionEntry structs
|
||||
* @n_entries: the length of @entries, or -1 if @entries is %NULL-terminated
|
||||
* @user_data: the user data for signal connections
|
||||
*
|
||||
|
@ -136,7 +136,8 @@ g_input_stream_init (GInputStream *stream)
|
||||
/**
|
||||
* g_input_stream_read:
|
||||
* @stream: a #GInputStream.
|
||||
* @buffer: a buffer to read data into (which should be at least count bytes long).
|
||||
* @buffer: (array length=count) (element-type guint8): a buffer to
|
||||
* read data into (which should be at least count bytes long).
|
||||
* @count: the number of bytes that will be read from the stream
|
||||
* @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
|
||||
* @error: location to store the error occurring, or %NULL to ignore
|
||||
@ -213,7 +214,8 @@ g_input_stream_read (GInputStream *stream,
|
||||
/**
|
||||
* g_input_stream_read_all:
|
||||
* @stream: a #GInputStream.
|
||||
* @buffer: a buffer to read data into (which should be at least count bytes long).
|
||||
* @buffer: (array length=count) (element-type guint8): a buffer to
|
||||
* read data into (which should be at least count bytes long).
|
||||
* @count: the number of bytes that will be read from the stream
|
||||
* @bytes_read: (out): location to store the number of bytes that was read from the stream
|
||||
* @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
|
||||
@ -546,7 +548,8 @@ async_ready_close_callback_wrapper (GObject *source_object,
|
||||
/**
|
||||
* g_input_stream_read_async:
|
||||
* @stream: A #GInputStream.
|
||||
* @buffer: a buffer to read data into (which should be at least count bytes long).
|
||||
* @buffer: (array length=count) (element-type guint8): a buffer to
|
||||
* read data into (which should be at least count bytes long).
|
||||
* @count: the number of bytes that will be read from the stream
|
||||
* @io_priority: the <link linkend="io-priority">I/O priority</link>
|
||||
* of the request.
|
||||
|
@ -2379,8 +2379,8 @@ g_socket_get_available_bytes (GSocket *socket)
|
||||
/**
|
||||
* g_socket_receive:
|
||||
* @socket: a #GSocket
|
||||
* @buffer: a buffer to read data into (which should be at least @size
|
||||
* bytes long).
|
||||
* @buffer: (array length=size) (element-type guint8): a buffer to
|
||||
* read data into (which should be at least @size bytes long).
|
||||
* @size: the number of bytes you want to read from the socket
|
||||
* @cancellable: (allow-none): a %GCancellable or %NULL
|
||||
* @error: #GError for error reporting, or %NULL to ignore.
|
||||
@ -2429,8 +2429,8 @@ g_socket_receive (GSocket *socket,
|
||||
/**
|
||||
* g_socket_receive_with_blocking:
|
||||
* @socket: a #GSocket
|
||||
* @buffer: a buffer to read data into (which should be at least @size
|
||||
* bytes long).
|
||||
* @buffer: (array length=size) (element-type guint8): a buffer to
|
||||
* read data into (which should be at least @size bytes long).
|
||||
* @size: the number of bytes you want to read from the socket
|
||||
* @blocking: whether to do blocking or non-blocking I/O
|
||||
* @cancellable: (allow-none): a %GCancellable or %NULL
|
||||
|
Loading…
Reference in New Issue
Block a user