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