Fabcoin Core  0.16.2
P2P Digital Currency
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 }
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
EXPORT struct evm_factory evmjit_get_factory(void)
Get EVMJIT instance.
Definition: JIT.cpp:389
The EVM instance factory.
Definition: evm.h:455
int abi_version
EVM-C ABI version implemented by the EVM factory and instance.
Definition: evm.h:460
int main()