Method
WPEJavaScriptCoreValueconstructor_callv
Declaration [src]
JSCValue*
jsc_value_constructor_callv (
JSCValue* value,
guint n_parameters,
JSCValue** parameters
)
Description [src]
Invoke value. If n_parameters
is 0 no parameters will be passed to the constructor.
This method is renamed to jsc_value_constructor_call() in language bindings
Parameters
n_parameters-
Type:
guintThe number of parameters.
parameters-
Type: An array of
JSCValue*The
JSCValues to pass as parameters to the constructor, orNULL.The argument can be NULL.The length of the array is specified in the n_parametersargument.The data is owned by the caller of the function.
Return value
Type: JSCValue
A JSCValue referencing the newly created object instance.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |