Skip to main content

JS_ToBigInt64

Function JS_ToBigInt64 

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

JS_ToBigInt64: a BigInt (or a number) as an i64, modulo 2^64.

ยงSafety

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