Function quickjs_runtime::quickjs_utils::objects::set_property2

source ·
pub unsafe fn set_property2(
    context: *mut JSContext,
    obj_ref: &QuickJsValueAdapter,
    prop_name: &str,
    prop_ref: &QuickJsValueAdapter,
    flags: i32,
) -> Result<(), JsError>
Expand description

set a property with specific flags

§Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid