Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
cpp-ethereum
evmjit
tests
test-evmjit-standalone.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <
evmjit.h
>
3
4
int
main
()
5
{
6
struct
evm_factory
factory =
evmjit_get_factory
();
7
if
(
EVM_ABI_VERSION
!= factory.
abi_version
)
8
{
9
printf
(
"Error: expected ABI version %u!\n"
,
EVM_ABI_VERSION
);
10
return
1;
11
}
12
printf
(
"EVMJIT ABI version %u\n"
, factory.
abi_version
);
13
return
0;
14
}
EVM_ABI_VERSION
Definition:
evm.h:28
tinyformat::printf
void printf(const char *fmt, const Args &...args)
Format list of arguments to std::cout, according to the given format string.
Definition:
tinyformat.h:972
evmjit_get_factory
EXPORT struct evm_factory evmjit_get_factory(void)
Get EVMJIT instance.
Definition:
JIT.cpp:389
evm_factory
The EVM instance factory.
Definition:
evm.h:455
evm_factory::abi_version
int abi_version
EVM-C ABI version implemented by the EVM factory and instance.
Definition:
evm.h:460
evmjit.h
main
int main()
Definition:
test-evmjit-standalone.c:4
Generated on Mon Oct 22 2018 15:15:27 for Fabcoin Core by
1.8.11