mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
introspection: use (nullable) or (optional) instead of (allow-none)
If we have an input parameter (or return value) we need to use (nullable). However, if it is an (inout) or (out) parameter, (optional) is sufficient. It looks like (nullable) could be used for everything according to the Annotation documentation, but (optional) is more specific.
This commit is contained in:
@@ -261,7 +261,7 @@ g_unix_fd_message_new_with_fd_list (GUnixFDList *fd_list)
|
||||
/**
|
||||
* g_unix_fd_message_steal_fds:
|
||||
* @message: a #GUnixFDMessage
|
||||
* @length: (out) (allow-none): pointer to the length of the returned
|
||||
* @length: (out) (optional): pointer to the length of the returned
|
||||
* array, or %NULL
|
||||
*
|
||||
* Returns the array of file descriptors that is contained in this
|
||||
|
Reference in New Issue
Block a user