Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
binaryen
module
binaryen_memory_factory.cpp
binaryen_memory_factory.hpp
binaryen_memory_provider.cpp
binaryen_memory_provider.hpp
core_api_factory_impl.cpp
core_api_factory_impl.hpp
instance_environment_factory.cpp
instance_environment_factory.hpp
memory_impl.cpp
memory_impl.hpp
runtime_external_interface.cpp
runtime_external_interface.hpp
common
runtime_api
wavm
core_api_factory.hpp
instance_environment.hpp
memory.hpp
memory_provider.hpp
module.hpp
module_factory.hpp
module_instance.hpp
module_repository.hpp
persistent_result.hpp
ptr_size.hpp
raw_executor.hpp
runtime_code_provider.hpp
runtime_environment_factory.hpp
runtime_properties_cache.hpp
runtime_upgrade_tracker.hpp
trie_storage_provider.hpp
types.hpp
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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