Function mozjs_sys::jsapi::JS::CompileFunctionUtf8

source ยท
pub unsafe extern "C" fn CompileFunctionUtf8(
    cx: *mut JSContext,
    envChain: HandleObjectVector,
    options: *const ReadOnlyCompileOptions,
    name: *const c_char,
    nargs: c_uint,
    argnames: *const *const c_char,
    utf8: *const c_char,
    length: usize,
) -> *mut JSFunction
Expand description

Identical to the CompileFunction overload above for UTF-8, but with Rust-friendly ergonomics.