Client APIs
API Reference Overview
Sets the "cost" of implicitly casting the source type to the target type using this function.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_cast_function_set_implicit_cast_cost(
duckdb_cast_function cast_function,
int64_t cost
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `cast_function`: The cast function object.
* `cost`: The cost to set.  
<br>