Method

WPEJavaScriptCoreContextset_value

Declaration [src]

void
jsc_context_set_value (
  JSCContext* context,
  const char* name,
  JSCValue* value
)

Description [src]

Set a property of context global object with name and value.

Parameters

name const char*
 

The value name.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
value JSCValue
 

A JSCValue.

 The data is owned by the caller of the function.