|
Wasmtime: C++
|
Type information for a WebAssembly function. More...
#include <wasmtime.hh>
Classes | |
| class | Ref |
Public Member Functions | |
| FuncType (std::initializer_list< ValType > params, std::initializer_list< ValType > results) | |
| Creates a new function type from the given list of parameters and results. | |
| FuncType (Ref other) | |
| Copies a reference into a uniquely owned function type. | |
| FuncType (const FuncType &other) | |
| Copies another type's information into this one. | |
| FuncType & | operator= (const FuncType &other) |
| Copies another type's information into this one. | |
| FuncType (FuncType &&other)=default | |
| Moves type information from another type into this one. | |
| FuncType & | operator= (FuncType &&other)=default |
| Moves type information from another type into this one. | |
| Ref * | operator-> () |
Returns the underlying Ref, a non-owning reference pointing to this instance. | |
| Ref * | operator* () |
Returns the underlying Ref, a non-owning reference pointing to this instance. | |
Static Public Member Functions | |
| template<typename P , typename R > | |
| static FuncType | from_iters (P params, R results) |
| Creates a new function type from the given list of parameters and results. | |
Type information for a WebAssembly function.