script_bindings::utils

Function generic_lenient_setter

Source
pub(crate) unsafe extern "C" fn generic_lenient_setter(
    cx: *mut JSContext,
    argc: c_uint,
    vp: *mut JSVal,
) -> bool
Expand description

Generic lenient setter of IDL interface.

§Safety

cx must point to a valid, non-null JSContext. vp must point to a VALID, non-null JSVal.