JavaScriptCore

Skipped during bindings generation

  • parameter value: value: Out parameter is not supported

  • parameter value: value: Out parameter is not supported

  • parameter value: value: Out parameter is not supported

  • parameter value: value: Out parameter is not supported

  • parameter value: value: Out parameter is not supported

  • parameter value: value: Out parameter is not supported

  • parameter value: value: Out parameter is not supported

  • record ClassClass: glib type struct are ignored

  • record ContextClass: glib type struct are ignored

  • record ExceptionClass: glib type struct are ignored

  • record ValueClass: glib type struct are ignored

  • record VirtualMachineClass: glib type struct are ignored

  • record WeakValueClass: glib type struct are ignored

Properties

Link copied to clipboard
const val MAJOR_VERSION: <Error class: unknown class> = 2

Like jsc_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard
const val MICRO_VERSION: <Error class: unknown class> = 3

Like jsc_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard
const val MINOR_VERSION: <Error class: unknown class> = 46

Like jsc_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard

Allows the DFG JIT to be used if true. Option type: %JSC_OPTION_BOOLEAN Default value: true.

Link copied to clipboard

Allows the FTL JIT to be used if true. Option type: %JSC_OPTION_BOOLEAN Default value: true.

Link copied to clipboard

Allows the executable pages to be allocated for JIT and thunks if true. Option type: %JSC_OPTION_BOOLEAN Default value: true.

Link copied to clipboard

Allows the LLINT to be used if true. Option type: %JSC_OPTION_BOOLEAN Default value: true.

Functions

Link copied to clipboard
fun getMajorVersion(): <Error class: unknown class>

Returns the major version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 1.)

Link copied to clipboard
fun getMicroVersion(): <Error class: unknown class>

Returns the micro version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 3.)

Link copied to clipboard
fun getMinorVersion(): <Error class: unknown class>

Returns the minor version number of the JavaScriptCore library. (e.g. in JavaScriptCore version 1.8.3 this is 8.)

Link copied to clipboard

Iterates all available options calling @function for each one. Iteration can stop early if @function returns false.

Link copied to clipboard
fun optionsGetOptionGroup(): <Error class: unknown class>

Create a #GOptionGroup to handle JSCOptions as command line arguments. The options will be exposed as command line arguments with the form --jsc-&lt;option&gt;=&lt;value&gt;. Each entry in the returned #GOptionGroup is configured to apply the corresponding option during command line parsing. Applications only need to pass the returned group to g_option_context_add_group(), and the rest will be taken care for automatically.

Link copied to clipboard
fun optionsSetBoolean(option: String, value: Boolean): Boolean

Set @option as a #gboolean value.

Link copied to clipboard
fun optionsSetDouble(option: String, value: <Error class: unknown class>): Boolean

Set @option as a #gdouble value.

Link copied to clipboard
fun optionsSetInt(option: String, value: <Error class: unknown class>): Boolean

Set @option as a #gint value.

Link copied to clipboard

Set @option as a range string. The string must be in the format !&lt;low&gt;:`<`high`>` where low and high are #guint values. Values between low and high (both included) will be considered in the range, unless ! is used to invert the range.

Link copied to clipboard
fun optionsSetSize(option: String, value: <Error class: unknown class>): Boolean

Set @option as a #gsize value.

Link copied to clipboard
fun optionsSetString(option: String, value: String): Boolean

Set @option as a string.

Link copied to clipboard
fun optionsSetUint(option: String, value: <Error class: unknown class>): Boolean

Set @option as a #guint value.