Azure / Azure/macro-utils-c

Correlation for enum macros

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8
Forks
17
Avg merge
31m
Merged PRs (30d)
3

Description

It would be awesome if the ENUM macros could only be used with other ENUM macros.
And ENUM_2 macros could only be used with other ENUM_2 macros.

For example using MU_ENUM_To_STRINGS_2 on an enum defined with MU_DEFINE_ENUM should yield an (compile) error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.