neon::sys::bindings

Function create_external_buffer

Source
pub unsafe fn create_external_buffer(
    env: Env,
    length: usize,
    data: *mut c_void,
    finalize_cb: Finalize,
    finalize_hint: *mut c_void,
    result: *mut Value,
) -> Result<(), Status>
Available on crate features sys and napi-1 only.
Expand description