This commit is contained in:
aozhiwei 2023-02-28 10:32:09 +08:00
parent 0ea88842f5
commit e7505277a1

View File

@ -40,4 +40,13 @@ __VA_ARGS__ \
}; \
template<> constexpr const char* GetEnumString<E>() { return #__VA_ARGS__; };
#define A8_MAKE_ANON_STRUCT_SHARED(...) \
[] () \
{ \
struct Context \
{ \
__VA_ARGS__ \
}; \
return std::make_shared(Context);}()
const float A8_PI = 3.1415926f;