javascriptcore.c.types

Undocumented in source.

Public Imports

glib.c.types
public import glib.c.types;
Undocumented in source.
gobject.c.types
public import gobject.c.types;
Undocumented in source.

Members

Aliases

CheckSyntaxMode
alias CheckSyntaxMode = JSCCheckSyntaxMode
Undocumented in source.
CheckSyntaxResult
alias CheckSyntaxResult = JSCCheckSyntaxResult
Undocumented in source.
JSCClassDeletePropertyFunction
alias JSCClassDeletePropertyFunction = int function(JSCClass* jscClass, JSCContext* context, void* instance_, const(char)* name)

The type of delete_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

JSCClassEnumeratePropertiesFunction
alias JSCClassEnumeratePropertiesFunction = char** function(JSCClass* jscClass, JSCContext* context, void* instance_)

The type of enumerate_properties in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

JSCClassGetPropertyFunction
alias JSCClassGetPropertyFunction = JSCValue* function(JSCClass* jscClass, JSCContext* context, void* instance_, const(char)* name)

The type of get_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

JSCClassHasPropertyFunction
alias JSCClassHasPropertyFunction = int function(JSCClass* jscClass, JSCContext* context, void* instance_, const(char)* name)

The type of has_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

JSCClassSetPropertyFunction
alias JSCClassSetPropertyFunction = int function(JSCClass* jscClass, JSCContext* context, void* instance_, const(char)* name, JSCValue* value)

The type of set_property in #JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

JSCExceptionHandler
alias JSCExceptionHandler = void function(JSCContext* context, JSCException* exception, void* userData)

Function used to handle JavaScript exceptions in a #JSCContext.

JSCOptionsFunc
alias JSCOptionsFunc = int function(const(char)* option, JSCOptionType type, const(char)* description, void* userData)

Function used to iterate options.

JSC_MAJOR_VERSION
alias JSC_MAJOR_VERSION = MAJOR_VERSION
Undocumented in source.
JSC_MICRO_VERSION
alias JSC_MICRO_VERSION = MICRO_VERSION
Undocumented in source.
JSC_MINOR_VERSION
alias JSC_MINOR_VERSION = MINOR_VERSION
Undocumented in source.
JSC_OPTIONS_USE_DFG
alias JSC_OPTIONS_USE_DFG = OPTIONS_USE_DFG
Undocumented in source.
JSC_OPTIONS_USE_FTL
alias JSC_OPTIONS_USE_FTL = OPTIONS_USE_FTL
Undocumented in source.
JSC_OPTIONS_USE_JIT
alias JSC_OPTIONS_USE_JIT = OPTIONS_USE_JIT
Undocumented in source.
JSC_OPTIONS_USE_LLINT
alias JSC_OPTIONS_USE_LLINT = OPTIONS_USE_LLINT
Undocumented in source.
JSGlobalContextRef
alias JSGlobalContextRef = void*
Undocumented in source.
JSValueRef
alias JSValueRef = void*
Undocumented in source.
OptionType
alias OptionType = JSCOptionType
Undocumented in source.
ValuePropertyFlags
alias ValuePropertyFlags = JSCValuePropertyFlags
Undocumented in source.

Enums

JSCCheckSyntaxMode
enum JSCCheckSyntaxMode

Enum values to specify a mode to check for syntax errors in jsc_context_check_syntax().

JSCCheckSyntaxResult
enum JSCCheckSyntaxResult

Enum values to specify the result of jsc_context_check_syntax().

JSCOptionType
enum JSCOptionType

Enum values for options types.

JSCValuePropertyFlags
enum JSCValuePropertyFlags

Flags used when defining properties with jsc_value_object_define_property_data() and jsc_value_object_define_property_accessor().

Manifest constants

MAJOR_VERSION
enum MAJOR_VERSION;

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
enum MICRO_VERSION;

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
enum MINOR_VERSION;

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
enum OPTIONS_USE_DFG;

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

OPTIONS_USE_FTL
enum OPTIONS_USE_FTL;

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

OPTIONS_USE_JIT
enum OPTIONS_USE_JIT;

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

OPTIONS_USE_LLINT
enum OPTIONS_USE_LLINT;

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

Structs

JSCClass
struct JSCClass
Undocumented in source.
JSCClassClass
struct JSCClassClass
Undocumented in source.
JSCClassVTable
struct JSCClassVTable

Virtual table for a JSCClass. This can be optionally used when registering a #JSCClass in a #JSCContext to provide a custom implementation for the class. All virtual functions are optional and can be set to %NULL to fallback to the default implementation.

JSCContext
struct JSCContext
Undocumented in source.
JSCContextClass
struct JSCContextClass
Undocumented in source.
JSCContextPrivate
struct JSCContextPrivate
Undocumented in source.
JSCException
struct JSCException
Undocumented in source.
JSCExceptionClass
struct JSCExceptionClass
Undocumented in source.
JSCExceptionPrivate
struct JSCExceptionPrivate
Undocumented in source.
JSCValue
struct JSCValue
Undocumented in source.
JSCValueClass
struct JSCValueClass
Undocumented in source.
JSCValuePrivate
struct JSCValuePrivate
Undocumented in source.
JSCVirtualMachine
struct JSCVirtualMachine
Undocumented in source.
JSCVirtualMachineClass
struct JSCVirtualMachineClass
Undocumented in source.
JSCVirtualMachinePrivate
struct JSCVirtualMachinePrivate
Undocumented in source.
JSCWeakValue
struct JSCWeakValue
Undocumented in source.
JSCWeakValueClass
struct JSCWeakValueClass
Undocumented in source.
JSCWeakValuePrivate
struct JSCWeakValuePrivate
Undocumented in source.

Meta