set_task_data


Description:

[ Version ( since = "2.36" ) ]
public void set_task_data (void* task_data, DestroyNotify? task_data_destroy)

Sets this's task data (freeing the existing task data, if any).

Parameters:

this

the Task

task_data

task-specific data

task_data_destroy

DestroyNotify for task_data