diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-03-24 23:58:45 +1100 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-03-31 20:34:28 +1100 |
commit | 4143842eb47c1f38b2b4742b0928e4049e38afb9 (patch) | |
tree | e699547e8a4e074790c5f7b6bcddbd6877578b6b /gio/gsocket.c | |
parent | 4cf5d2531608b4433fb3348d679f099bd3d29716 (diff) | |
download | glib-4143842eb47c1f38b2b4742b0928e4049e38afb9.tar.gz |
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
Diffstat (limited to 'gio/gsocket.c')
-rw-r--r-- | gio/gsocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gsocket.c b/gio/gsocket.c index a28546f32..0fa133fe8 100644 --- a/gio/gsocket.c +++ b/gio/gsocket.c @@ -2695,7 +2695,7 @@ g_socket_send_with_blocking (GSocket *socket, /** * g_socket_send_to: * @socket: a #GSocket - * @address: a #GSocketAddress, or %NULL + * @address: (allow-none): a #GSocketAddress, or %NULL * @buffer: (array length=size) (element-type guint8): the buffer * containing the data to send. * @size: the number of bytes to send @@ -3584,7 +3584,7 @@ g_socket_condition_timed_wait (GSocket *socket, /** * g_socket_send_message: * @socket: a #GSocket - * @address: a #GSocketAddress, or %NULL + * @address: (allow-none): a #GSocketAddress, or %NULL * @vectors: (array length=num_vectors): an array of #GOutputVector structs * @num_vectors: the number of elements in @vectors, or -1 * @messages: (array length=num_messages) (allow-none): a pointer to an |