Skip to content

Conversation

@marler8997
Copy link

Instead of keeping 2 copies of the list of type names, I put them in once place inside a macro. This macro is then used to expand the type names as both enum members and then as strings. This allows the list of types to be defined in one location instead of two.

@xavieryin
Copy link

magic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants