#include <any>
#include <array>
#include <cstdio>
#include <initializer_list>
#include <iosfwd>
#include <limits>
#include <memory>
#include <optional>
#include <ostream>
#include <variant>
#include <vector>
#include <wasmtime.h>
#include <wasmtime/config.hh>
#include <wasmtime/engine.hh>
#include <wasmtime/error.hh>
#include <wasmtime/module.hh>
#include <wasmtime/store.hh>
#include <wasmtime/trap.hh>
#include <wasmtime/types.hh>
#include <wasmtime/wasi.hh>
#include <wasmtime/val.hh>
Go to the source code of this file.
|
typedef std::variant< Func, Global, Memory, Table > | wasmtime::Extern |
| Representation of an external WebAssembly item.
|
|
◆ NATIVE_WASM_TYPE
#define NATIVE_WASM_TYPE |
( |
|
native, |
|
|
|
valkind, |
|
|
|
field |
|
) |
| |
Value: template <> struct WasmType<native> { \
static const bool valid = true; \
static
const ValKind kind = ValKind::valkind; \
const native &t) { \
p->field = t; \
} \
return p->field; \
} \
};
ValKind
Different kinds of types accepted by Wasmtime.
Definition: types/val.hh:16
Container for possible wasm values.
Definition: val.h:372
Helper macro to define WasmType
definitions for primitive types like int32_t and such.