aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/tests/examples/TestEnum.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-29 18:30:03 -0700
committerrtk0c <[email protected]>2022-05-29 18:30:03 -0700
commit5112858f9a4adcf76240bcddad19179a5c56d4f3 (patch)
tree22baae0ae1f74be2c9aee241f061cb91f3c30e88 /buildtools/codegen/tests/examples/TestEnum.hpp
parent32f00c086b35c5bc32d800b96253b378b9367580 (diff)
Changeset: 47 Add fromstring codegen for enums
Diffstat (limited to 'buildtools/codegen/tests/examples/TestEnum.hpp')
-rw-r--r--buildtools/codegen/tests/examples/TestEnum.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/codegen/tests/examples/TestEnum.hpp b/buildtools/codegen/tests/examples/TestEnum.hpp
index c498cd9..6b4ab33 100644
--- a/buildtools/codegen/tests/examples/TestEnum.hpp
+++ b/buildtools/codegen/tests/examples/TestEnum.hpp
@@ -5,14 +5,14 @@ enum MyEnum {
EnumElement2,
EnumElement3,
};
-BRUSSEL_ENUM(MyEnum, ToString);
+BRUSSEL_ENUM(MyEnum, ToString FromString);
enum CountedEnumAll {
CEA_Foo,
CEA_Bar,
CEA_COUNT,
};
-BRUSSEL_ENUM(CountedEnumAll, ToString);
+BRUSSEL_ENUM(CountedEnumAll, ToString FromString);
enum CountedEnum {
CE_Foo,
@@ -20,4 +20,4 @@ enum CountedEnum {
CE_FooBar,
CE_COUNT,
};
-BRUSSEL_ENUM(CountedEnum, ToString ExcludeHeuristics);
+BRUSSEL_ENUM(CountedEnum, ToString FromString ExcludeHeuristics);