Gjsify LogoGjsify Logo

Index

Variables

MAJOR_VERSION: number

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.

MICRO_VERSION: number

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.

MINOR_VERSION: number

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.

OPTIONS_USE_DFG: string

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

OPTIONS_USE_FTL: string

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

OPTIONS_USE_JIT: string

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

OPTIONS_USE_LLINT: string

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

Functions

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

    This function is in the library, so it represents the JavaScriptCore library your code is running against. Contrast with the #JSC_MAJOR_VERSION macro, which represents the major version of the JavaScriptCore headers you have included when compiling your code.

    Returns number

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

    This function is in the library, so it represents the JavaScriptCore library your code is running against. Contrast with the #JSC_MICRO_VERSION macro, which represents the micro version of the JavaScriptCore headers you have included when compiling your code.

    Returns number

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

    This function is in the library, so it represents the JavaScriptCore library your code is running against. Contrast with the #JSC_MINOR_VERSION macro, which represents the minor version of the JavaScriptCore headers you have included when compiling your code.

    Returns number

  • options_get_boolean(option: string): [boolean, boolean]
  • options_get_double(option: string): [boolean, number]
  • options_get_int(option: string): [boolean, number]
  • Create a #GOptionGroup to handle JSCOptions as command line arguments. The options will be exposed as command line arguments with the form --jsc-<option>=<value>. 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.

    Returns OptionGroup

  • options_get_range_string(option: string): [boolean, string]
  • Get option as a range string. The string must be in the format [!]<low>[:<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.

    Parameters

    • option: string

      the option identifier

    Returns [boolean, string]

  • options_get_size(option: string): [boolean, number]
  • options_get_string(option: string): [boolean, string]
  • options_get_uint(option: string): [boolean, number]
  • options_set_boolean(option: string, value: boolean): boolean
  • options_set_double(option: string, value: number): boolean
  • options_set_int(option: string, value: number): boolean
  • options_set_range_string(option: string, value: string): boolean
  • Set option as a range string. The string must be in the format [!]<low>[:<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.

    Parameters

    • option: string

      the option identifier

    • value: string

      the value to set

    Returns boolean

  • options_set_size(option: string, value: number): boolean
  • options_set_string(option: string, value: string): boolean
  • options_set_uint(option: string, value: number): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method