Add missing GClosure annotations

This commit is contained in:
Pavel Holejsovsky 2011-08-19 10:34:02 +02:00
parent de6566b07d
commit af210cd0ee
2 changed files with 15 additions and 11 deletions

View File

@ -729,13 +729,14 @@ g_closure_remove_finalize_notifier (GClosure *closure,
/** /**
* g_closure_invoke: * g_closure_invoke:
* @closure: a #GClosure * @closure: a #GClosure
* @return_value: a #GValue to store the return value. May be %NULL if the * @return_value: (allow-none): a #GValue to store the return
* callback of @closure doesn't return a value. * value. May be %NULL if the callback of @closure
* doesn't return a value.
* @n_param_values: the length of the @param_values array * @n_param_values: the length of the @param_values array
* @param_values: (array length=n_param_values): an array of * @param_values: (array length=n_param_values): an array of
* #GValue<!-- -->s holding the arguments on which to * #GValue<!-- -->s holding the arguments on which to
* invoke the callback of @closure * invoke the callback of @closure
* @invocation_hint: a context-dependent invocation hint * @invocation_hint: (allow-none): a context-dependent invocation hint
* *
* Invokes the closure, i.e. executes the callback represented by the @closure. * Invokes the closure, i.e. executes the callback represented by the @closure.
*/ */

View File

@ -99,15 +99,18 @@ typedef void (*GClosureNotify) (gpointer data,
/** /**
* GClosureMarshal: * GClosureMarshal:
* @closure: the #GClosure to which the marshaller belongs * @closure: the #GClosure to which the marshaller belongs
* @return_value: a #GValue to store the return value. May be %NULL if the * @return_value: (allow-none): a #GValue to store the return
* callback of @closure doesn't return a value. * value. May be %NULL if the callback of @closure doesn't return a
* value.
* @n_param_values: the length of the @param_values array * @n_param_values: the length of the @param_values array
* @param_values: an array of #GValue<!-- -->s holding the arguments on * @param_values: (array length=n_param_values): an array of
* which to invoke the callback of @closure * #GValue<!-- -->s holding the arguments on which to invoke the
* @invocation_hint: the invocation hint given as the last argument * callback of @closure
* to g_closure_invoke() * @invocation_hint: (allow-none): the invocation hint given as the
* @marshal_data: additional data specified when registering the marshaller, * last argument to g_closure_invoke()
* see g_closure_set_marshal() and g_closure_set_meta_marshal() * @marshal_data: (allow-none): additional data specified when
* registering the marshaller, see g_closure_set_marshal() and
* g_closure_set_meta_marshal()
* *
* The type used for marshaller functions. * The type used for marshaller functions.
*/ */