mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gsocketaddressenumerator: add nullable annotation to the result of next
The returned `SocketAddress` is going to be NULL when the stream of socket addresses is finished
This commit is contained in:
parent
4643276972
commit
ac3fc84ff4
@ -87,7 +87,7 @@ g_socket_address_enumerator_class_init (GSocketAddressEnumeratorClass *enumerato
|
|||||||
* internal errors (other than @cancellable being triggered) will be
|
* internal errors (other than @cancellable being triggered) will be
|
||||||
* ignored.
|
* ignored.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): a #GSocketAddress (owned by the caller), or %NULL on
|
* Returns: (transfer full) (nullable): a #GSocketAddress (owned by the caller), or %NULL on
|
||||||
* error (in which case *@error will be set) or if there are no
|
* error (in which case *@error will be set) or if there are no
|
||||||
* more addresses.
|
* more addresses.
|
||||||
*/
|
*/
|
||||||
@ -181,7 +181,7 @@ g_socket_address_enumerator_real_next_finish (GSocketAddressEnumerator *enumera
|
|||||||
* g_socket_address_enumerator_next() for more information about
|
* g_socket_address_enumerator_next() for more information about
|
||||||
* error handling.
|
* error handling.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): a #GSocketAddress (owned by the caller), or %NULL on
|
* Returns: (transfer full) (nullable): a #GSocketAddress (owned by the caller), or %NULL on
|
||||||
* error (in which case *@error will be set) or if there are no
|
* error (in which case *@error will be set) or if there are no
|
||||||
* more addresses.
|
* more addresses.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user