Task.returnInt

Sets @task's result to @result and completes the task (see g_task_return_pointer() for more discussion of exactly what this means).

class Task
void
returnInt
(
ptrdiff_t result
)

Parameters

result ptrdiff_t

the integer (#gssize) result of a task function.

Meta

Since

2.36