Type Alias hirofa_quickjs_sys::JSCFunctionData

source ·
pub type JSCFunctionData = Option<unsafe extern "C" fn(ctx: *mut JSContext, this_val: JSValue, argc: c_int, argv: *mut JSValue, magic: c_int, func_data: *mut JSValue) -> JSValue>;

Aliased Type§

enum JSCFunctionData {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: JSValue, _: i32, _: *mut JSValue, _: i32, _: *mut JSValue) -> JSValue),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: JSValue, _: i32, _: *mut JSValue, _: i32, _: *mut JSValue) -> JSValue)

Some value of type T.