mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +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:
@@ -104,7 +104,7 @@ g_network_monitor_get_network_available (GNetworkMonitor *monitor)
|
||||
* g_network_monitor_can_reach:
|
||||
* @monitor: a #GNetworkMonitor
|
||||
* @connectable: a #GSocketConnectable
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @error: return location for a #GError, or %NULL
|
||||
*
|
||||
* Attempts to determine whether or not the host pointed to by
|
||||
@@ -166,7 +166,7 @@ g_network_monitor_real_can_reach_async (GNetworkMonitor *monitor,
|
||||
* g_network_monitor_can_reach_async:
|
||||
* @monitor: a #GNetworkMonitor
|
||||
* @connectable: a #GSocketConnectable
|
||||
* @cancellable: a #GCancellable, or %NULL
|
||||
* @cancellable: (allow-none): a #GCancellable, or %NULL
|
||||
* @callback: (scope async): a #GAsyncReadyCallback to call when the
|
||||
* request is satisfied
|
||||
* @user_data: (closure): the data to pass to callback function
|
||||
|
Reference in New Issue
Block a user