Why Do Libraries Use Hexadecimal Constants Instead of Enums?
Why do libraries such as GLFW define related constants with hexadecimal values instead of using an enum? For example: #define GLFW_NO_ERROR 0 #define GLFW_NOT_INITIALIZED 0x00010001 #define GLFW_NO_CURRENT_CONTEXT 0x00010002…