Method
JavaScriptCoreContextevaluate
Declaration [src]
JSCValue*
jsc_context_evaluate (
JSCContext* context,
const char* code,
gssize length
)
Parameters
code |
const char* |
A JavaScript script to evaluate. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
length |
gssize |
Length of |
Return value
Returns: | JSCValue |
A |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |