Skip to main content

JS_ToInt64Sat

Function JS_ToInt64Sat 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_ToInt64Sat( ctx: *mut JsContext, pres: *mut i64, val: JsValue, ) -> c_int
Expand description

JS_ToInt64Sat: ToInt64 clamped to the i64 range.

ยงSafety

pres must be null or writable, val a live JSValue.