View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005295 | unreal | ircd | public | 2019-05-22 15:53 | 2019-10-06 07:57 |
Reporter | syzop | Assigned To | syzop | ||
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 5.0.0-alpha4 | ||||
Summary | 0005295: U5: Use more enums | ||||
Description | Use enums where possible, instead of #define's. This does not work for bitmasks, but does for many other simple #define..1... #define..2 #define..3...#define..4..etc.. cases. This allows the compiler to do certain checks, and makes it more clear to API users what kind of options are available (for those who code with an IDE too). | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
Efunctions, ban actions, .. |
|
I could leave this issue open forever, but I think I've done enough for now. Converted quite a bit to enums. If I see more and feel like it then I'll convert others as well. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-05-22 15:53 | syzop | New Issue | |
2019-05-22 15:53 | syzop | Relationship added | child of 0005279 |
2019-05-22 15:53 | syzop | Status | new => acknowledged |
2019-08-18 15:17 | syzop | View Status | private => public |
2019-08-31 08:24 | syzop | Note Added: 0020863 | |
2019-08-31 10:37 | syzop | Note View State: 0020863: public | |
2019-10-06 07:57 | syzop | Assigned To | => syzop |
2019-10-06 07:57 | syzop | Status | acknowledged => resolved |
2019-10-06 07:57 | syzop | Resolution | open => fixed |
2019-10-06 07:57 | syzop | Fixed in Version | => 5.0.0-alpha4 |
2019-10-06 07:57 | syzop | Note Added: 0020938 | |
2019-10-06 07:57 | syzop | Note Edited: 0020938 |