载入中...
搜索中...
未找到
Export.h
浏览该文件的文档.
1#pragma once
2
4#if defined(EVENGINE_PLUGIN)
5# if defined(_WIN32)
6# define EVENGINE_API __declspec(dllimport)
7# else
8# define EVENGINE_API
9# endif
10#elif defined(_WIN32)
11# define EVENGINE_API __declspec(dllexport)
12#else
13# if defined(__GNUC__) || defined(__clang__)
14# define EVENGINE_API __attribute__((visibility("default")))
15# else
16# define EVENGINE_API
17# endif
18#endif
19
21#if defined(_WIN32)
22# define EVE_PLUGIN_EXPORT extern "C" __declspec(dllexport)
23#else
24# define EVE_PLUGIN_EXPORT extern "C" __attribute__((visibility("default")))
25#endif