Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
intrinsic.cpp
Go to the documentation of this file.
1
#include <
sysio/chain/webassembly/sys-vm-oc/intrinsic.hpp
>
2
3
namespace
sysio
{
namespace
chain {
namespace
eosvmoc {
4
5
static
intrinsic_map_t
& the_intrinsic_map() {
6
static
intrinsic_map_t
intrinsic_map;
7
return
intrinsic_map;
8
}
9
10
const
intrinsic_map_t
&
get_intrinsic_map
() {
11
return
the_intrinsic_map();
12
}
13
14
intrinsic::intrinsic
(
const
char
* n,
const
IR::FunctionType
* t,
void
*
f
,
size_t
o) {
15
the_intrinsic_map().erase(n);
16
the_intrinsic_map().emplace(n,
intrinsic_entry
{t,
f
, o});
17
}
18
19
}}}
f
foo f
Definition
X02-DisabledMacros.cpp:25
intrinsic.hpp
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::intrinsic
intrinsic(const char *name, const IR::FunctionType *type, void *function_ptr, size_t ordinal)
Definition
intrinsic.cpp:14
libraries
chain
webassembly
runtimes
sys-vm-oc
intrinsic.cpp
Generated by
1.12.0