apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject apr_hash_count should accept a const hash?
Date Mon, 17 Jan 2005 11:40:33 GMT
/**
  * 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?

- Julian


Mime
View raw message