Re: Namespace on gnome-menus library
- From: Sean Middleditch <elanthis awesomeplay com>
- To: Desktop Devel <desktop-devel-list gnome org>
- Subject: Re: Namespace on gnome-menus library
- Date: Mon, 10 Jan 2005 09:55:20 -0500
On Mon, 2005-01-10 at 14:45 +0000, Mark McLoughlin wrote:
> On Sat, 2005-01-08 at 15:49 +0100, Mikael Hallendal wrote:
> > Hi,
> >
> > We should probably namespace gnome-menus. You currently include
> > <menu-tree.h> and the functions are menu_tree_* for example. Would be
> > better to have the functions namespaced so that it's easier to see where
> > they come from.
> >
> > #include <gnome-menus/menu-tree.h>
> >
> > gnome_menu_tree_*
>
> Yeah, maybe ... but that's more typing :-)
>
> Seriously, its a library which only will be used in the core desktop -
> gnome-panel, control-center, bug-buddy currently - so I'm not worried
> enough about namespace clashes to change it, really.
Until someone links in another library that uses similar generic symbol
names... namespacing is useful for a lot more things than API
identification. Libraries that don't namespace symbols cause way too
many problems for users.
>
> Cheers,
> Mark.
>
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]