javascriptcore.types
D types for javascriptcore6 library
Types 14
The type of delete_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.
Parameters
jscClass | a #JSCClass |
context | a #JSCContext |
instance | the jsc_class instance |
name | the property name |
Returns
The type of enumerate_properties in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.
Parameters
jscClass | a #JSCClass |
context | a #JSCContext |
instance | the jsc_class instance |
Returns
containing the property names, or null if instance doesn't have enumerable properties.
The type of get_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.
Parameters
jscClass | a #JSCClass |
context | a #JSCContext |
instance | the jsc_class instance |
name | the property name |
Returns
the parent class or prototype chain
The type of has_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.
Parameters
jscClass | a #JSCClass |
context | a #JSCContext |
instance | the jsc_class instance |
name | the property name |
Returns
to the parent class or prototype chain.
The type of set_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.
Parameters
jscClass | a #JSCClass |
context | a #JSCContext |
instance | the jsc_class instance |
name | the property name |
value | the #JSCValue to set |
Returns
Function used to handle JavaScript exceptions in a #JSCContext.
Parameters
context | a #JSCContext |
exception | a #JSCException |
A function passed to jsc_value_new_promise called during initialization
It is called like a JavaScript function, so exceptions raised will not be propagated to the context, but handled by the promise causing a rejection. resolve and reject can be reffed for later use to handle async task completion.
Parameters
resolve | #JSCValue function to call to resolve the promise |
reject | #JSCValue function to call to reject the promise |
Function used to iterate options.
Not that description string is not localized.
Parameters
option | the option name |
type | the option #JSCOptionType |
description | the option description, or null |
Returns
Variables 7
MAJOR_VERSION = 2Like [javascriptcore.global.getMajorVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.
MICRO_VERSION = 1Like [javascriptcore.global.getMicroVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.
MINOR_VERSION = 48Like [javascriptcore.global.getMinorVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.
OPTIONS_USE_DFG = "useDFGJIT"Allows the DFG JIT to be used if true. Option type: JSC_OPTION_BOOLEAN Default value: true.
OPTIONS_USE_FTL = "useFTLJIT"Allows the FTL JIT to be used if true. Option type: JSC_OPTION_BOOLEAN Default value: true.
OPTIONS_USE_JIT = "useJIT"Allows the executable pages to be allocated for JIT and thunks if true. Option type: JSC_OPTION_BOOLEAN Default value: true.
OPTIONS_USE_LLINT = "useLLInt"Allows the LLINT to be used if true. Option type: JSC_OPTION_BOOLEAN Default value: true.