Kagome
Polkadot Runtime Engine in C++17
|
#include <module.hpp>
Public Member Functions | |
virtual | ~Module ()=default |
virtual outcome::result< std::shared_ptr< ModuleInstance > > | instantiate () const =0 |
A WebAssembly code module. Contains a set of exported objects (e. g. functions and variable declarations) and imported objects (e. g. Host API functions in case of Polkadot).
Definition at line 24 of file module.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::runtime::binaryen::ModuleImpl, and kagome::runtime::wavm::ModuleImpl.