mirror of https://github.com/status-im/evmc.git
helpers: Return bool from is_abi_compatible()
This commit is contained in:
parent
c836afb905
commit
03dfc17226
|
@ -41,6 +41,9 @@ and this project adheres to [Semantic Versioning].
|
|||
- The EVMC loader no longer ties to guess the VM create function name
|
||||
by dropping prefix words from the name.
|
||||
[[#440](https://github.com/ethereum/evmc/pull/440)]
|
||||
- The helper function `evmc_is_abi_compatible()` returns now `bool`
|
||||
instead of `int`.
|
||||
[[#442](https://github.com/ethereum/evmc/pull/442)]
|
||||
|
||||
|
||||
## [6.3.1] - 2019-08-19
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
/**
|
||||
* Returns true if the VM has a compatible ABI version.
|
||||
*/
|
||||
static inline int evmc_is_abi_compatible(struct evmc_vm* vm)
|
||||
static inline bool evmc_is_abi_compatible(struct evmc_vm* vm)
|
||||
{
|
||||
return vm->abi_version == EVMC_ABI_VERSION;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue