Re: Why keysym constants in gdk/gdkkeysyms.h are defined as macros, not as an enum?



On Tue, Jun 26, 2012 at 11:10 AM, Mark Vender <markv743 yahoo co uk> wrote:


> It's impossible for an application to break when enum values are added. They
> end up as integers within the code anyway and unless their values change,
> API/ABI stays the same.

I could think of some ways. But anyway, the keysyms are defines
because that's how they were done initially, and there's no compelling
reason to change it.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]