uniffi::ffi::foreignexecutor

Function foreign_executor_callback_set

Source
pub fn foreign_executor_callback_set(
    callback: extern "C" fn(_: ForeignExecutorHandle, _: u32, _: Option<extern "C" fn(_: *const (), _: RustTaskCallbackCode)>, _: *const ()) -> i8,
)
Expand description

Set the global ForeignExecutorCallback. This is called by the foreign bindings, normally during initialization.