#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_DefinePropertyValueStr(
ctx: *mut JsContext,
this_obj: JsValue,
name: *const c_char,
val: JsValue,
flags: c_int,
) -> c_intExpand description
JS_DefinePropertyValueStr: the same, keyed by a string.
§Safety
this_obj a live JSValue, name NUL-terminated; val’s reference is consumed.