Function mozjs::jsapi::Compile

source ยท
pub unsafe extern "C" fn Compile(
    cx: *mut JSContext,
    options: *const ReadOnlyCompileOptions,
    srcBuf: *mut SourceText<u16>,
) -> *mut JSScript
Expand description

Compile the provided script using the given options. Return the script on success, or return null on failure (usually with an error reported).