#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_MarkValue(
_rt: *mut JsRuntime,
_val: JsValue,
_mark_func: *mut c_void,
)Expand description
JS_MarkValue: stop the collector from reclaiming val.
The reference’s mark phase is explicit; this engine’s is reference-counting plus a cycle
collector, so a live JSValue box already keeps its payload alive and there is nothing to
mark. The function exists because a JSClassDef::gc_mark implementation calls it, and a
missing symbol would stop such a module from loading at all.
§Safety
The arguments are ignored; the reference’s contract is on val only.