/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-20.2
Code/Games/SampleGamePlugin/SampleGamePluginDLL.h
15 строк
405 B
jankrassnigg
Removed redundant plugin macros
12 фев 2019, 02:05
12 фев 2019, 02:05
fb88d65
Код
Авторство
О чём код?
#pragma once #include <Foundation/Basics.h> #include <Foundation/Configuration/Plugin.h> // Configure the DLL Import/Export Define #if EZ_ENABLED(EZ_COMPILE_ENGINE_AS_DLL) # ifdef BUILDSYSTEM_BUILDING_SAMPLEGAMEPLUGIN_LIB # define EZ_SAMPLEGAMEPLUGIN_DLL __declspec(dllexport) # else # define EZ_SAMPLEGAMEPLUGIN_DLL __declspec(dllimport) # endif #else # define EZ_SAMPLEGAMEPLUGIN_DLL #endif