Client APIs
API Reference Overview
Sets the state destructor callback of the aggregate function (optional)  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_aggregate_function_set_destructor(
duckdb_aggregate_function aggregate_function,
duckdb_aggregate_destroy_t destroy
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `aggregate_function`: The aggregate function
* `destroy`: state destroy callback  
<br>