Skip to main content

JS_ToInt64Ext

Function JS_ToInt64Ext 

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

JS_ToInt64Ext: ToInt64, but a BigInt is accepted too.

ยงSafety

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