5#ifndef V8_WASM_C_API_H_
6#define V8_WASM_C_API_H_
8#if !V8_ENABLE_WEBASSEMBLY
9#error This header should only be included if WebAssembly is enabled.
12#if !defined(BUILDING_V8_SHARED) && !defined(USING_V8_SHARED)
13#define LIBWASM_STATIC 1
20#include "third_party/wasm-api/wasm.hh"
51 void (*finalizer)(
void*));
V8_INLINE Local< T > Get(Isolate *isolate) const
V8_INLINE void * GetData(uint32_t slot)
v8::Eternal< v8::Context > context_
static StoreImpl * get(i::Isolate *isolate)
i::IndirectHandle< i::JSWeakMap > host_info_map_
v8::Isolate * isolate() const
i::Isolate * i_isolate() const
v8::Isolate::CreateParams create_params_
void SetHostInfo(i::DirectHandle< i::Object > object, void *info, void(*finalizer)(void *))
void * GetHostInfo(i::DirectHandle< i::Object > key)
v8::Local< v8::Context > context() const
friend own< Store > Store::make(Engine *)
std::unique_ptr< ValueMirror > key