mirror of https://github.com/status-im/evmc.git
15 lines
388 B
C
15 lines
388 B
C
/* EVMC: Ethereum Client-VM Connector API.
|
|
* Copyright 2018-2019 The EVMC Authors.
|
|
* Licensed under the Apache License, Version 2.0.
|
|
*/
|
|
|
|
/** This example shows how to use evmc INTERFACE library from evmc CMake package. */
|
|
|
|
#include <evmc/evmc.h>
|
|
|
|
int main()
|
|
{
|
|
struct evmc_instance instance = {.abi_version = EVMC_ABI_VERSION};
|
|
return instance.abi_version - EVMC_ABI_VERSION;
|
|
}
|