Kagome
Polkadot Runtime Engine in C++17
module_params.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_CORE_RUNTIME_WAVM_MODULE_PARAMS_HPP
7 #define KAGOME_CORE_RUNTIME_WAVM_MODULE_PARAMS_HPP
8 
9 #include <WAVM/IR/Types.h>
10 
11 namespace kagome::runtime::wavm {
12 
18  struct ModuleParams {
19  WAVM::IR::MemoryType intrinsicMemoryType{
20  false, WAVM::IR::IndexType::i32, {21, UINT64_MAX}};
21  };
22 } // namespace kagome::runtime::wavm
23 
24 #endif // KAGOME_CORE_RUNTIME_WAVM_MODULE_PARAMS_HPP
Global parameters for module instantiation. Currently contains only memory type that may be changed o...
WAVM::IR::MemoryType intrinsicMemoryType