aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/tests/examples
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/codegen/tests/examples')
-rw-r--r--buildtools/codegen/tests/examples/TestEnum.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildtools/codegen/tests/examples/TestEnum.hpp b/buildtools/codegen/tests/examples/TestEnum.hpp
new file mode 100644
index 0000000..aaa3d74
--- /dev/null
+++ b/buildtools/codegen/tests/examples/TestEnum.hpp
@@ -0,0 +1,8 @@
+#include "MacrosCodegen.hpp"
+
+enum MyEnum {
+ EnumElement1,
+ EnumElement2,
+ EnumElement3,
+};
+BRUSSEL_ENUM(MyEnum, GenInfo);