quackdb_internal::ffi

Function duckdb_init_set_init_data

Source
pub unsafe extern "C" fn duckdb_init_set_init_data(
    info: *mut c_void,
    init_data: *mut c_void,
    destroy: Option<unsafe extern "C" fn(_: *mut c_void)>,
)
Expand description

Sets the user-provided init data in the init object. This object can be retrieved again during execution.

info: The info object extra_data: The init data object. destroy: The callback that will be called to destroy the init data (if any)