Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sys-vm-oc.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <exception>
7
8#include <stdint.h>
9#include <stddef.h>
10#include <setjmp.h>
11
12#include <vector>
13#include <list>
14
15namespace sysio { namespace chain {
16
17class apply_context;
18
19namespace eosvmoc {
20
22
23struct no_offset{};
25 size_t offset;
26};
28 size_t ordinal;
29};
30
31using eosvmoc_optional_offset_or_import_t = std::variant<no_offset, code_offset, intrinsic_ordinal>;
32
45
52
53static constexpr uint8_t current_codegen_version = 1;
54
55}}}
56
60FC_REFLECT(sysio::chain::eosvmoc::code_descriptor, (code_hash)(vm_version)(codegen_version)(code_begin)(start)(apply_offset)(starting_memory_pages)(initdata_begin)(initdata_size)(initdata_prologue_size));
61
62#define SYSVMOC_INTRINSIC_INIT_PRIORITY __attribute__((init_priority(198)))
std::variant< no_offset, code_offset, intrinsic_ordinal > eosvmoc_optional_offset_or_import_t
Definition sys-vm-oc.hpp:31
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311
unsigned char uint8_t
Definition stdint.h:124
eosvmoc_optional_offset_or_import_t start
Definition sys-vm-oc.hpp:38