A bug was discovered in glaze which prevented valid toml output. We have switched to toml++ and reflect-cpp. The interface has remained the same so this should not break any code
19 lines
379 B
C++
19 lines
379 B
C++
#ifndef RFL_COMMON_HPP_
|
|
#define RFL_COMMON_HPP_
|
|
|
|
|
|
#ifdef RFL_BUILD_SHARED
|
|
#ifdef _WIN32
|
|
#ifdef reflectcpp_EXPORTS
|
|
#define RFL_API __declspec(dllexport)
|
|
#else
|
|
#define RFL_API __declspec(dllimport)
|
|
#endif
|
|
#else
|
|
#define RFL_API __attribute__((visibility("default")))
|
|
#endif
|
|
#else
|
|
#define RFL_API
|
|
#endif
|
|
|
|
#endif |