Client APIs
API Reference Overview
Registers a cast function within the given connection.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_register_cast_function(
duckdb_connection con,
duckdb_cast_function cast_function
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `con`: The connection to use.
* `cast_function`: The cast function to register.  
###### Return Value {#docs:api:c:api::return-value}  
Whether or not the registration was successful.  
<br>