Kagome
Polkadot Runtime Engine in C++17
types.hpp File Reference
#include <cstdint>
#include <utility>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::runtime
 

Typedefs

using kagome::runtime::WasmPointer = uint32_t
 type of wasm memory is 32 bit integer More...
 
using kagome::runtime::WasmSpan = uint64_t
 combination of pointer and size, where less significant part represents wasm pointer, and most significant represents size More...
 
using kagome::runtime::WasmSize = uint32_t
 Size type is uint32_t because we are working in 32 bit address space. More...
 
using kagome::runtime::WasmEnum = uint32_t
 Enum value is uint32_t. More...
 
using kagome::runtime::WasmOffset = uint32_t
 Offset type is uint32_t because we are working in 32 bit address space. More...
 
using kagome::runtime::WasmI32 = int32_t
 
using kagome::runtime::WasmU64 = uint64_t
 

Enumerations

enum  kagome::runtime::WasmLogLevel {
  kagome::runtime::WasmLogLevel::Error = 0, kagome::runtime::WasmLogLevel::Warn = 1, kagome::runtime::WasmLogLevel::Info = 2, kagome::runtime::WasmLogLevel::Debug = 3,
  kagome::runtime::WasmLogLevel::Trace = 4
}
 type of wasm log levels More...
 

Functions

static constexpr std::pair< WasmPointer, WasmSize > kagome::runtime::splitSpan (WasmSpan span)