Add AnyPossiblyRedacted* enums to the code-gen of event_enum!#139
Add AnyPossiblyRedacted* enums to the code-gen of event_enum!#139jplatte merged 2 commits intoruma:masterfrom
Conversation
|
Huh, I didn't actually think we'd generate these but it does make sense since that's easy to do. Really wonder whether we shouldn't just move everything into one macro invocation and generate the other enums of specific event kind enums too. |
|
Gonna trust you that that second commit is just moving things around, diff is not particularily easy to read. |
|
I bet we could move to the "one big macro" without changing the expansion logic just adding some parsing code to make it all work. That could be done at anytime right, since it wouldn't be a breaking change to anything? |
I think so too.
Yes. |
Are there any methods that should be added to these enums? Nothing I can think of would be all that helpful.
The first commit is the actual work then I copy pasted things around but no changes.
Resolves #119