aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/tests/examples
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-27 17:31:04 -0700
committerrtk0c <[email protected]>2022-05-27 17:31:04 -0700
commit6c3007295a6a8c6803933392834c974ec5f56aa0 (patch)
treeeb97cf2510f90dce62db4e1cf66d829ef1c436af /buildtools/codegen/tests/examples
parent30e7501b006e55bdeec0db18709d3fd4c5db86b5 (diff)
Changeset: 41 Add logic to parse enums
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);