feat(reflect-cpp): Switched from glaze -> reflect cpp
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
This commit is contained in:
19
build-config/reflect-cpp/include/rfl/common.hpp
Normal file
19
build-config/reflect-cpp/include/rfl/common.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user