Function mozjs::jsapi::CompileFunctionUtf8
source ยท pub unsafe extern "C" fn CompileFunctionUtf8(
cx: *mut JSContext,
envChain: HandleObjectVector,
options: *const ReadOnlyCompileOptions,
name: *const i8,
nargs: u32,
argnames: *const *const i8,
utf8: *const i8,
length: usize,
) -> *mut JSFunction
Expand description
Identical to the CompileFunction overload above for UTF-8, but with Rust-friendly ergonomics.