#[no_mangle]
pub unsafe extern "C" fn tc_task_error(task: *mut TCTask) -> TCString
Expand description
Get the latest error for a task, or a string NULL ptr field if the last operation succeeded. Subsequent calls to this function will return NULL. The task pointer must not be NULL. The caller must free the returned string.
EXTERN_C struct TCString tc_task_error(struct TCTask *task);