Function jscjs_sys::api::JSObjectMakeRegExp[][src]

pub unsafe extern "C" fn JSObjectMakeRegExp(
    ctx: JSContextRef,
    argumentCount: usize,
    arguments: *const JSValueRef,
    exception: *mut JSValueRef
) -> JSObjectRef
Expand description

@function @abstract Creates a JavaScript RegExp object, as if by invoking the built-in RegExp constructor. @param ctx The execution context to use. @param argumentCount An integer count of the number of arguments in arguments. @param arguments A JSValue array of arguments to pass to the RegExp Constructor. Pass NULL if argumentCount is 0. @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result A JSObject that is a RegExp.