#3 #define ⇒ enum?

open
nobody
None
5
2010-03-15
2010-03-15
Markus Elfring
No

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

Examples:
* cmsSig..., PT_..., TYPE_..., cmsERROR_...
http://github.com/mm2/Little-CMS/blob/master/include/lcms2.h

* cmsPlugin...
http://github.com/mm2/Little-CMS/blob/master/include/lcms2_plugin.h#L187

Discussion