Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
wasm_config.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <cstdint>
6
7namespace sysio { namespace chain {
8
9struct wasm_config {
11 std::uint32_t max_table_elements;
12 std::uint32_t max_section_elements;
14 std::uint32_t max_func_local_bytes;
15 std::uint32_t max_nested_structures;
16 std::uint32_t max_symbol_bytes;
17 std::uint32_t max_module_bytes;
18 std::uint32_t max_code_bytes;
19 std::uint32_t max_pages;
20 std::uint32_t max_call_depth;
21 void validate() const;
22};
23
37inline constexpr bool operator!=(const wasm_config& lhs, const wasm_config& rhs) {
38 return !(lhs == rhs);
39}
40
41}}
42
44 (max_mutable_global_bytes)
45 (max_table_elements)
46 (max_section_elements)
47 (max_linear_memory_init)
48 (max_func_local_bytes)
49 (max_nested_structures)
50 (max_symbol_bytes)
51 (max_module_bytes)
52 (max_code_bytes)
53 (max_pages)
54 (max_call_depth)
55)
bool operator==(const permission_level &lhs, const permission_level &rhs)
Definition action.hpp:13
bool operator!=(const permission_level &lhs, const permission_level &rhs)
Definition action.hpp:17
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311
std::uint32_t max_symbol_bytes
std::uint32_t max_linear_memory_init
std::uint32_t max_table_elements
std::uint32_t max_func_local_bytes
std::uint32_t max_section_elements
std::uint32_t max_nested_structures
std::uint32_t max_module_bytes
std::uint32_t max_mutable_global_bytes