apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: apr_hash_count should accept a const hash?
Date Mon, 17 Jan 2005 17:42:58 GMT
Are you thinking of @bug in the doxygen?  That's where I left
all the 0.9 anomalies until 1.0 was ready.

Bill

At 05:57 AM 1/17/2005, Joe Orton wrote:
>On Mon, Jan 17, 2005 at 11:40:33AM +0000, Julian Foad wrote:
>> /**
>>  * Get the number of key/value pairs in the hash table.
>>  * @param ht The hash table
>>  * @return The number of key/value pairs in the hash table.
>>  */
>> APR_DECLARE(unsigned int) apr_hash_count(apr_hash_t *ht);
>> 
>> 
>> Any reason not to take a pointer to a "const" apr_hash_t?
>> 
>> If we can't fix this right away due to the possibility of binary 
>> incompatibility on some systems, where is the best place to file this 
>> enhancement until such time as it can be done?
>
>It can't be changed for source compatibility reasons at least; but yes,
>it seems like a good idea - I added this to STATUS along with the other
>things which I had noted already... thanks.
>
>Regards,
>
>joe



Mime
View raw message