Function quickjs_runtime::quickjs_utils::objects::set_property2
source · [−]pub unsafe fn set_property2(
context: *mut JSContext,
obj_ref: &JSValueRef,
prop_name: &str,
prop_ref: &JSValueRef,
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