apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apr/tables apr_hash.c
Date Tue, 16 Jan 2001 17:59:04 GMT
gstein@apache.org writes:

>   Index: apr_hash.h
>   ===================================================================
>   RCS file: /home/cvs/apr/include/apr_hash.h,v
>   retrieving revision 1.18
>   retrieving revision 1.19
>   diff -u -u -r1.18 -r1.19
>   --- apr_hash.h	2001/01/11 00:13:22	1.18
>   +++ apr_hash.h	2001/01/11 08:37:45	1.19
>   @@ -174,12 +174,12 @@
>                                   apr_size_t *klen, void **val);
>    
>    /**
>   - * Get the number of keys in the hash table.
>   + * Get the number of key/value pairs in the hash table.
>     * @param ht The hash table
>   - * @param count Return pointer for the number of keys
>   + * @return The number of key/value pairs in the hash table.
>     * @deffunc void apr_hash_count(apr_hash_t *ht, apr_size_t *count);
>     */
>   -APR_DECLARE(void) apr_hash_count(apr_hash_t *ht, apr_size_t *count);
>   +APR_DECLARE(apr_size_t) apr_hash_count(apr_hash_t *ht);

silly question: why not int or apr_int32_t instead of apr_size_t?

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message