Function JsSetRuntimeBeforeCollectCallback

pub unsafe extern "C" fn JsSetRuntimeBeforeCollectCallback(
    runtime: *const c_void,
    callbackstate: *const c_void,
    beforecollectcallback: JsBeforeCollectCallback,
) -> JsErrorCode