Method

WPEJavaScriptCoreContextget_value

Declaration [src]

JSCValue*
jsc_context_get_value (
  JSCContext* context,
  const char* name
)

Description [src]

Get a property of context global object with name.

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.

Return value

Returns: JSCValue
 

A JSCValue.

 The caller of the method takes ownership of the data, and is responsible for freeing it.