#include <array>
#include <wasmtime/error.hh>
#include <wasmtime/extern_declare.hh>
#include <wasmtime/func.h>
#include <wasmtime/span.hh>
#include <wasmtime/store.hh>
#include <wasmtime/trap.hh>
#include <wasmtime/types/func.hh>
#include <wasmtime/types/val.hh>
#include <wasmtime/val.hh>
Go to the source code of this file.
◆ 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.