Function js::jsapi::JS_CompileScript [] [src]

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

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