Function mozjs::jsapi::js::GetFunctionNativeReserved

source ·
pub unsafe extern "C" fn GetFunctionNativeReserved(
    fun: *mut JSObject,
    which: usize,
) -> *const Value
Expand description

Get or set function’s reserved slot value. fun should be a function created with *WithReserved API above. Such functions have 2 reserved slots, and which can be either 0 or 1.