VirtualMachine

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

To create a group of JSCContext<!-- -->s pass the same JSCVirtualMachine instance to every JSCContext constructor.

Constructors

this
this(JSCVirtualMachine* jSCVirtualMachine, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Create a new #JSCVirtualMachine.

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getVirtualMachineStruct
JSCVirtualMachine* getVirtualMachineStruct(bool transferOwnership)

Get the main Gtk struct

Static functions

getType
GType getType()

Variables

jSCVirtualMachine
JSCVirtualMachine* jSCVirtualMachine;

the main Gtk struct

Meta