Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#53 #define ⇒ enum?

open
nobody
None
5
2010-02-20
2010-02-20
Markus Elfring
No

Would you like to replace more defines for constant values by enumerations to stress their relationships?

Examples:
- ATTR_...
http://freedos.svn.sourceforge.net/viewvc/freedos/kernel/trunk/hdr/device.h?revision=1485&view=markup

- DIR_...
http://freedos.svn.sourceforge.net/viewvc/freedos/kernel/trunk/hdr/fat.h?revision=1448&view=markup

Discussion