EVMC
utils.h
Go to the documentation of this file.
1 /* EVMC: Ethereum Client-VM Connector API.
2  * Copyright 2018-2019 The EVMC Authors.
3  * Licensed under the Apache License, Version 2.0.
4  */
5 
6 #pragma once
7 
20 #if defined _MSC_VER || defined __MINGW32__
21 #define EVMC_EXPORT __declspec(dllexport)
22 #else
23 #define EVMC_EXPORT __attribute__((visibility("default")))
24 #endif
25 
30 #ifdef __cplusplus
31 #define EVMC_NOEXCEPT noexcept
32 #else
33 #define EVMC_NOEXCEPT
34 #endif
35