Re: Enums, flags and ::
| From: | Andrei Zmievski | Date: | Tue, 25 Oct 2005 20:18:16 +0000 |
| Subject: | Re: Enums, flags and :: | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1951@lists.php.net to get a copy of this message | ||
On Oct 25, 2005, at 1:04 PM, Steph Fox wrote:
What's the deal about global scope? OK there could be namespace collisions - but on the other hand those are GTK+ constants, easily recognisable and AFAIK used everywhere that uses GTK+. It'd have to be a very 'newbie' error to name a local constant GTK_*, given that scenario.What about GDK_*? PANGO_*? ATK_*? GLADE_*? SOMEOTHEREXTENSION_*? How will this look when all the extensions register their constants globally? -Andrei