Function neon::sys::bindings::create_function
source ยท pub unsafe fn create_function(
env: Env,
utf8name: *const c_char,
length: usize,
cb: Callback,
data: *mut c_void,
result: *mut Value,
) -> Status
Available on crate features
sys
and napi-1
only.