Destroys a Data Fitting task object and frees the memory.
status = dfDeleteTask(&task)
Name |
Type |
Description |
---|---|---|
task |
DFTaskPtr |
Descriptor of the task to destroy. |
Name |
Type |
Description |
---|---|---|
status |
int |
Status of the routine:
|
Given a pointer to a task descriptor, this routine deletes the Data Fitting task descriptor and frees the memory allocated for the structure. If the task is deleted successfully, the routine sets the task pointer to NULL. Otherwise, the routine returns an error code.