task‘s result to
result (by copying it) and completes the task.
NULL then a
GValue of type
with a value of
NULL will be used for the result.
This is a very generic low-level method intended primarily for use
by language bindings; for C code,
g_task_return_pointer() and the
like will normally be much easier to use.
Available since: 2.64
GValueresult of a task function.
The argument can be
The data is owned by the caller of the function.