Constructor
JavaScriptCoreValuenew_array
Declaration [src]
JSCValue*
jsc_value_new_array (
  JSCContext* context,
  GType first_item_type,
  ...
)
Description [src]
Create a new JSCValue referencing an array with the given items. If first_item_type
is G_TYPE_NONE an empty array is created.
| This constructor is not directly available to language bindings | 
Parameters
| context | JSCContext | 
| A  | |
| The data is owned by the caller of the function. | |
| first_item_type | GType | 
| 
 | |
| ... |  | 
| Value of the first item, followed optionally by more type/value pairs, followed by  | 
Return value
| Returns: | JSCValue | 
| A  | |
| The caller of the function takes ownership of the data, and is responsible for freeing it. |