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