diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-19 10:33:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-19 10:35:39 +0300 |
commit | 9c8255d486c1271f20d33debf2a9e9ce883b5019 (patch) | |
tree | b1f5af7bbe48f7cbc59a1a422c0a95f4ed764da9 /source/blender/makesdna | |
parent | 695dc07cb12222678f035537c554bee39d4d7d23 (diff) |
Cleanup: use 'e' prefix for enum types
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index a9016dd4edd..e24d39b61eb 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -59,7 +59,7 @@ struct wmTimer; #define KMAP_MAX_NAME 64 /* keep in sync with 'rna_enum_wm_report_items' in wm_rna.c */ -typedef enum ReportType { +typedef enum eReportType { RPT_DEBUG = (1 << 0), RPT_INFO = (1 << 1), RPT_OPERATOR = (1 << 2), @@ -69,7 +69,7 @@ typedef enum ReportType { RPT_ERROR_INVALID_INPUT = (1 << 6), RPT_ERROR_INVALID_CONTEXT = (1 << 7), RPT_ERROR_OUT_OF_MEMORY = (1 << 8), -} ReportType; +} eReportType; #define RPT_DEBUG_ALL (RPT_DEBUG) #define RPT_INFO_ALL (RPT_INFO) @@ -91,7 +91,7 @@ enum ReportListFlags { # typedef struct Report { struct Report *next, *prev; - /** ReportType. */ + /** eReportType. */ short type; short flag; /** `strlen(message)`, saves some time calculating the word wrap. */ @@ -103,9 +103,9 @@ typedef struct Report { /* saved in the wm, don't remove */ typedef struct ReportList { ListBase list; - /** ReportType. */ + /** eReportType. */ int printlevel; - /** ReportType. */ + /** eReportType. */ int storelevel; int flag; char _pad[4]; |