Method
JavaScriptCoreValuefunction_call
Declaration [src]
JSCValue*
jsc_value_function_call (
JSCValue* value,
GType first_parameter_type,
...
)
Description [src]
Call function referenced by value
, passing the given parameters. If first_parameter_type
is G_TYPE_NONE
no parameters will be passed to the function.
This function always returns a JSCValue
, in case of void functions a JSCValue
referencing
This method is not directly available to language bindings.
The implementation of this method is provided by jsc_value_function_callv()
in language bindings
Parameters
first_parameter_type
-
Type:
GType
GType
of first parameter, orG_TYPE_NONE
. ...
-
Type:
Value of the first parameter, followed optionally by more type/value pairs, followed by
G_TYPE_NONE
.
Return value
Type: JSCValue
A JSCValue
with the return value of the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |