config: ENTT_NO_MIXIN/ENTT_STORAGE

This commit is contained in:
Michele Caini
2024-05-10 15:23:52 +02:00
parent 00e34a2dc7
commit 581f2b0a0c

View File

@@ -60,6 +60,12 @@
# define ENTT_ETO_TYPE(Type) Type
#endif
#ifdef ENTT_NO_MIXIN
# define ENTT_STORAGE(Mixin, ...) __VA_ARGS__
#else
# define ENTT_STORAGE(Mixin, ...) Mixin<__VA_ARGS__>
#endif
#ifdef ENTT_STANDARD_CPP
# define ENTT_NONSTD false
#else