Kagome
Polkadot Runtime Engine in C++17
binaryen_memory_factory.cpp
Go to the documentation of this file.
1 
7 
9 
11 
12  std::unique_ptr<MemoryImpl> BinaryenMemoryFactory::make(
13  wasm::ShellExternalInterface::Memory *memory, WasmSize heap_base) const {
14  return std::make_unique<MemoryImpl>(memory, heap_base);
15  }
16 
17 } // namespace kagome::runtime::binaryen
uint32_t WasmSize
Size type is uint32_t because we are working in 32 bit address space.
Definition: types.hpp:35
virtual std::unique_ptr< MemoryImpl > make(wasm::ShellExternalInterface::Memory *memory, WasmSize heap_base) const