Re: [gtk-list] Re: inconsistent use of const
- From: Alexandre Jaborska <ajaborsk phare univ-lille2 fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: inconsistent use of const
- Date: Mon, 26 Jan 1998 12:33:39 +0100 (MET)
On 23 Jan 1998, Rob Browning wrote:
> Michael Callahan <callahan@xmission.com> writes:
>
> > This brings up the question: Do you really want to start using
> > const in this code? It might become hard to make everything
> > const-consistent.
>
> I think it's a good idea. I've been meaning to submit a patch for a
> bunch of prototypes and definitions myself, but haven't gotten around
> to it yet. If you use them properly, they can help the compiler
> generate tighter code, and can also (sometimes) keep you from doing
> stupid things.
>
using 'const' for strings can also allow to use the 'string' type with gtk--
and it's a very useful feature !!
Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]