javascriptcore.c.types

C types for javascriptcore6 library

Public Imports

gid.basictypes
public import gid.basictypes;
Undocumented in source.
gobject.c.types
public import gobject.c.types;
Undocumented in source.

Members

Enums

JSCCheckSyntaxMode
enum JSCCheckSyntaxMode

Enum values to specify a mode to check for syntax errors in javascriptcore.context.Context.checkSyntax.

JSCCheckSyntaxResult
enum JSCCheckSyntaxResult

Enum values to specify the result of javascriptcore.context.Context.checkSyntax.

JSCOptionType
enum JSCOptionType

Enum values for options types.

JSCTypedArrayType
enum JSCTypedArrayType

Possible types of the elements contained in a typed array.

JSCValuePropertyFlags
enum JSCValuePropertyFlags

Flags used when defining properties with javascriptcore.value.Value.objectDefinePropertyData and javascriptcore.value.Value.objectDefinePropertyAccessor.

Structs

JSCClass
struct JSCClass

A JSSClass represents a custom JavaScript class registered by the user in a #JSCContext. It allows to create new JavaScripts objects whose instances are created by the user using this API. It's possible to add constructors, properties and methods for a JSSClass by providing #GCallback<!-- -->s to implement them.

JSCClassClass
struct JSCClassClass
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

JSCContext represents a JavaScript execution context, where all operations take place and where the values will be associated.

JSCContextClass
struct JSCContextClass
JSCException
struct JSCException

JSCException represents a JavaScript exception.

JSCExceptionClass
struct JSCExceptionClass
JSCValue
struct JSCValue

JSCValue represents a reference to a value in a #JSCContext. The JSCValue protects the referenced value from being garbage collected.

JSCValueClass
struct JSCValueClass
JSCVirtualMachine
struct JSCVirtualMachine

JSCVirtualMachine represents a group of JSCContext<!-- -->s. It allows concurrent JavaScript execution by creating a different instance of JSCVirtualMachine in each thread.

JSCVirtualMachineClass
struct JSCVirtualMachineClass
JSCWeakValue
struct JSCWeakValue

JSCWeakValue represents a weak reference to a value in a #JSCContext. It can be used to keep a reference to a JavaScript value without protecting it from being garbage collected and without referencing the #JSCContext either.

JSCWeakValueClass
struct JSCWeakValueClass