pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: constness


From: Ben Pfaff
Subject: Re: constness
Date: Sat, 11 Nov 2006 11:45:13 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> Any objections if I add a const version of the hash table in
> src/libpspp/hash.c ?

What's const?  The objects in the hash table?  I guess that's
OK.

I assume that the functions will just be wrappers around the
existing ones, plus casts?

> I'm getting annoyed at the number of times I can't declare something
> const which really ought to be.

I'm not really sure how often "const" is really useful for
finding bugs, but OK.
-- 
"J'avais trouv'e ma religion :
 rien ne me parut plus important qu'un livre.
 La biblioth`eque, j'y voyais un temple."
--Jean-Paul Sartre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]