#[unsafe(no_mangle)]pub extern "C" fn ttc_alloc(size: u32, out_ptr: *mut u32)
Allocate a buffer in WASM linear memory.