#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_SetConstructorBit(
ctx: *mut JsContext,
func_obj: JsValue,
val: Bool,
) -> BoolExpand description
JS_SetConstructorBit: whether new is allowed on a function object.
ยงSafety
func_obj must be a live JSValue.