#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_ToInt32(
ctx: *mut JsContext,
pres: *mut i32,
val: JsValue,
) -> c_intExpand description
JS_ToInt32: ToInt32 (wrapping), or -1 with a pending exception.
ยงSafety
pres must be null or writable, val a live JSValue.