Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
binaryen_memory_factory.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_BINARYEN_WASM_MEMORY_FACTORY_HPP
7
#define KAGOME_BINARYEN_WASM_MEMORY_FACTORY_HPP
8
9
#include "
runtime/binaryen/memory_impl.hpp
"
10
11
namespace
kagome::runtime::binaryen
{
12
13
class
BinaryenMemoryFactory
{
14
public
:
15
virtual
~BinaryenMemoryFactory
() =
default
;
16
17
virtual
std::unique_ptr<MemoryImpl>
make
(
18
wasm::ShellExternalInterface::Memory *memory,
WasmSize
heap_base)
const
;
19
};
20
21
}
// namespace kagome::runtime::binaryen
22
23
#endif // KAGOME_BINARYEN_WASM_MEMORY_FACTORY_HPP
memory_impl.hpp
kagome::runtime::WasmSize
uint32_t WasmSize
Size type is uint32_t because we are working in 32 bit address space.
Definition:
types.hpp:35
kagome::runtime::binaryen::BinaryenMemoryFactory
Definition:
binaryen_memory_factory.hpp:13
kagome::runtime::binaryen
Definition:
binaryen_memory_factory.cpp:10
kagome::runtime::binaryen::BinaryenMemoryFactory::~BinaryenMemoryFactory
virtual ~BinaryenMemoryFactory()=default
kagome::runtime::binaryen::BinaryenMemoryFactory::make
virtual std::unique_ptr< MemoryImpl > make(wasm::ShellExternalInterface::Memory *memory, WasmSize heap_base) const
Definition:
binaryen_memory_factory.cpp:12
core
runtime
binaryen
binaryen_memory_factory.hpp
Generated by
1.8.11