Add EVMC_NOEXCEPT helper

This commit is contained in:
Alex Beregszaszi 2018-07-25 21:13:36 +01:00
parent 332d03570c
commit 0443370d29
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