#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_SetContextValue(
ctx: *mut JsContext,
idx: c_int,
val: JsValue,
)Expand description
JS_SetContextValue: store a value at one of the context’s private slots.
§Safety
ctx must be a live context; val’s reference is consumed.