Skip to main content

compose_rust_host_init

Function compose_rust_host_init 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn compose_rust_host_init( handshake: *const u8, len: u32, out: *mut MutationBatch, ) -> i32
Expand description

Initializes the UI-thread Host from the handshake and returns the initial batch.

ยงSafety

handshake must address len readable bytes and out must be writable.