Function JS_SetGCThreshold
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_SetGCThreshold(
rt: *mut JsRuntime,
gc_threshold: usize,
)
Expand description
JS_SetGCThreshold: collect once the heap holds threshold bytes.
ยงSafety
rt must be a live runtime.