Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
intrinsic.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#include <map>
6#include <string>
7
8namespace IR {
9 struct FunctionType;
10}
11
12namespace sysio { namespace chain { namespace eosvmoc {
13
14struct intrinsic {
15 intrinsic(const char* name, const IR::FunctionType* type, void* function_ptr, size_t ordinal);
16};
17
19 const IR::FunctionType* const type;
20 const void* const function_ptr;
21 const size_t ordinal;
22};
23
24using intrinsic_map_t = std::map<std::string, intrinsic_entry>;
25
27
28}}}
const intrinsic_map_t & get_intrinsic_map()
Definition intrinsic.cpp:10
std::map< std::string, intrinsic_entry > intrinsic_map_t
Definition intrinsic.hpp:24
Definition intrinsic.hpp:18
const void *const function_ptr
Definition intrinsic.hpp:20
const size_t ordinal
Definition intrinsic.hpp:21
const IR::FunctionType *const type
Definition intrinsic.hpp:19
intrinsic(const char *name, const IR::FunctionType *type, void *function_ptr, size_t ordinal)
Definition intrinsic.cpp:14
Immutable except for fc::from_variant.
Definition name.hpp:43