Function mozjs::jsapi::JS_CompileUCScript [] [src]

pub unsafe extern "C" fn JS_CompileUCScript(
    cx: *mut JSContext,
    chars: *const c_ushort,
    length: usize,
    options: *const CompileOptions,
    script: MutableHandleScript
) -> bool

|script| will always be set. On failure, it will be set to nullptr.