mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
gclosure: Fix the invoke() return_value annotation
The return value must be initialized by the caller, as is clear from GLib's internal callers, and e.g. dummy_closure_marshal() on the callee side.
This commit is contained in:
parent
7743dc889b
commit
9c01c1ebee
@ -761,7 +761,7 @@ g_closure_remove_finalize_notifier (GClosure *closure,
|
||||
/**
|
||||
* g_closure_invoke:
|
||||
* @closure: a #GClosure
|
||||
* @return_value: (optional) (out): a #GValue to store the return
|
||||
* @return_value: (optional) (inout): a #GValue to store the return
|
||||
* value. May be %NULL if the callback of @closure
|
||||
* doesn't return a value.
|
||||
* @n_param_values: the length of the @param_values array
|
||||
|
Loading…
x
Reference in New Issue
Block a user