yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1#ifndef SLANG_PLATFORM_API_H 2#define SLANG_PLATFORM_API_H 3 4#if defined(SLANG_PLATFORM_DYNAMIC ) 5#if defined(_MSC_VER ) 6#ifdef SLANG_PLATFORM_DYNAMIC_EXPORT 7#define SLANG_PLATFORM_API SLANG_DLL_EXPORT 8#else 9#define SLANG_PLATFORM_API __declspec(dllimport) 10#endif 11#else 12// TODO: need to consider compiler capabilities 13// # ifdef SLANG_DYNAMIC_EXPORT 14#define SLANG_PLATFORM_API SLANG_DLL_EXPORT 15// # endif 16#endif 17#endif 18 19#ifndef SLANG_PLATFORM_API 20#define SLANG_PLATFORM_API 21#endif 22 23#endif