|
Wasmtime: C++
|
#include <wasmtime.hh>
Public Types | |
| using | Results = WasmTypeList< R > |
Static Public Member Functions | |
| template<typename F , typename... A> | |
| static std::optional< Trap > | invoke (F f, Caller cx, wasmtime_val_raw_t *raw, A... args) |
A "trait" for what can be returned from closures specified to Func::wrap.
The base case here is a bare return value like int32_t.