![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <c-api.h>
Public Member Functions | |
~StoreImpl () | |
void | destroy () |
v8::Isolate * | isolate () const |
i::Isolate * | i_isolate () const |
v8::Local< v8::Context > | context () const |
void | SetHostInfo (i::DirectHandle< i::Object > object, void *info, void(*finalizer)(void *)) |
void * | GetHostInfo (i::DirectHandle< i::Object > key) |
Static Public Member Functions | |
static StoreImpl * | get (i::Isolate *isolate) |
Private Member Functions | |
StoreImpl ()=default | |
Private Attributes | |
v8::Isolate::CreateParams | create_params_ |
v8::Isolate * | isolate_ = nullptr |
v8::Eternal< v8::Context > | context_ |
i::IndirectHandle< i::JSWeakMap > | host_info_map_ |
Friends | |
own< Store > | Store::make (Engine *) |
wasm::StoreImpl::~StoreImpl | ( | ) |
|
privatedefault |
|
inline |
|
inlinestatic |
void * wasm::StoreImpl::GetHostInfo | ( | i::DirectHandle< i::Object > | key | ) |
|
inline |
|
inline |
void wasm::StoreImpl::SetHostInfo | ( | i::DirectHandle< i::Object > | object, |
void * | info, | ||
void(* | finalizer )(void *) ) |
|
friend |
|
private |
|
private |
|
private |
|
private |