mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Add missing allow-none annotations for function parameters.
Found using: find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
This commit is contained in:
@@ -824,7 +824,7 @@ get_stream_thread_func (GSimpleAsyncResult *res,
|
||||
/**
|
||||
* g_dbus_address_get_stream:
|
||||
* @address: A valid D-Bus address.
|
||||
* @cancellable: A #GCancellable or %NULL.
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL.
|
||||
* @callback: A #GAsyncReadyCallback to call when the request is satisfied.
|
||||
* @user_data: Data to pass to @callback.
|
||||
*
|
||||
@@ -913,7 +913,7 @@ g_dbus_address_get_stream_finish (GAsyncResult *res,
|
||||
* g_dbus_address_get_stream_sync:
|
||||
* @address: A valid D-Bus address.
|
||||
* @out_guid: %NULL or return location to store the GUID extracted from @address, if any.
|
||||
* @cancellable: A #GCancellable or %NULL.
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL.
|
||||
* @error: Return location for error or %NULL.
|
||||
*
|
||||
* Synchronously connects to an endpoint specified by @address and
|
||||
@@ -1163,7 +1163,7 @@ get_session_address_platform_specific (GError **error)
|
||||
/**
|
||||
* g_dbus_address_get_for_bus_sync:
|
||||
* @bus_type: A #GBusType.
|
||||
* @cancellable: A #GCancellable or %NULL.
|
||||
* @cancellable: (allow-none): A #GCancellable or %NULL.
|
||||
* @error: Return location for error or %NULL.
|
||||
*
|
||||
* Synchronously looks up the D-Bus address for the well-known message
|
||||
|
Reference in New Issue
Block a user