Function js::jsapi::JS_ExecuteScript2
[−]
[src]
pub unsafe extern "C" fn JS_ExecuteScript2(
cx: *mut JSContext,
scopeChain: *mut AutoObjectVector,
script: HandleScript,
rval: MutableHandleValue
) -> bool
As above, but providing an explicit scope chain. scopeChain must not include the global object on it; that's implicit. It needs to contain the other objects that should end up on the script's scope chain.