Skip to content

Commit

Permalink
Merge pull request #442 from ethereum/helpers_tweak
Browse files Browse the repository at this point in the history
helpers: Return bool from is_abi_compatible()
  • Loading branch information
chfast authored Nov 5, 2019
2 parents c836afb + 03dfc17 commit bd65396
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/evmc/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bd65396

Please sign in to comment.