Function

JavaScriptCoreoptions_get_string

Declaration [src]

gboolean
jsc_options_get_string (
  const char* option,
  char** value
)

Description [src]

Get option as a string.

Available since:2.24

Parameters

option const char*
 

The option identifier.

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

Return location for the option value.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if value has been set or FALSE if the option doesn’t exist.