Type Alias JSCSPEvalChecker

Source
pub type JSCSPEvalChecker = Option<unsafe extern "C" fn(cx: *mut JSContext, kind: RuntimeCode, codeString: Handle<*mut JSString>, compilationType: CompilationType, parameterStrings: Handle<StackGCVector<*mut JSString, TempAllocPolicy>>, bodyString: Handle<*mut JSString>, parameterArgs: Handle<StackGCVector<Value, TempAllocPolicy>>, bodyArg: Handle<Value>, outCanCompileStrings: *mut bool) -> bool>;

Aliased Type§

pub enum JSCSPEvalChecker {
    None,
    Some(unsafe extern "C" fn(*mut JSContext, RuntimeCode, Handle<*mut JSString>, CompilationType, Handle<StackGCVector<*mut JSString>>, Handle<*mut JSString>, Handle<StackGCVector<Value>>, Handle<Value>, *mut bool) -> bool),
}

Variants§