Type Alias mozjs_sys::jsapi::JS::BuildIdOp

source ·
pub type BuildIdOp = Option<unsafe extern "C" fn(buildId: *mut BuildIdCharVector) -> bool>;
Expand description

Return the buildId (represented as a sequence of characters) associated with the currently-executing build. If the JS engine is embedded such that a single cache entry can be observed by different compiled versions of the JS engine, it is critical that the buildId shall change for each new build of the JS engine.

Aliased Type§

enum BuildIdOp {
    None,
    Some(unsafe extern "C" fn(_: *mut u8) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut u8) -> bool)

Some value of type T.