Re: Why keysym constants in gdk/gdkkeysyms.h are defined as macros, not as an enum?
- From: Bastien Nocera <hadess hadess net>
- To: Mark Vender <markv743 yahoo co uk>
- Cc: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: Why keysym constants in gdk/gdkkeysyms.h are defined as macros, not as an enum?
- Date: Wed, 27 Jun 2012 01:35:43 +0100
On 26 Jun 2012, at 22:56, Mark Vender <markv743 yahoo co uk> wrote:
> which has no chance of negative effects. Even if we add values, they are still stored in an int, that is, GdkKeySym is never used.
If its definition is public, it will be used.
> Thus, in my opinion, even a small improvement is worthwhile.
I don't see how it improves anything. It changes things certainly, but you've yet to explain how it improves upon well tested, automated code.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]