Re: Why keysym constants in gdk/gdkkeysyms.h are defined as macros, not as an enum?
- From: Matthias Clasen <matthias clasen gmail com>
- To: Mark Vender <markv743 yahoo co uk>
- Cc: gtk-devel-list gnome org
- Subject: Re: Why keysym constants in gdk/gdkkeysyms.h are defined as macros, not as an enum?
- Date: Tue, 26 Jun 2012 12:57:10 -0400
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]