Constructor

JavaScriptCoreValuenew_boolean

Declaration [src]

JSCValue*
jsc_value_new_boolean (
  JSCContext* context,
  gboolean value
)

Description [src]

Create a new JSCValue from value.

Parameters

context

Type: JSCContext

A JSCContext.

The data is owned by the caller of the function.
value

Type: gboolean

A #gboolean.

Return value

Type: JSCValue

A JSCValue.

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