Merge pull request #46 from ethereum/noexcept

Add EVMC_NOEXCEPT helper
This commit is contained in:
Paweł Bylica 2018-07-26 13:47:45 +02:00 committed by GitHub
commit a4f7029371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -10,3 +10,9 @@
#else
#define EVMC_EXPORT __attribute__((visibility("default")))
#endif
#if __cplusplus
#define EVMC_NOEXCEPT noexcept
#else
#define EVMC_NOEXCEPT
#endif