Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Hash_impl
changeset 24:b032601956bb MC_shared
Works -- with send-receive plus normal dependencies
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 14 Jun 2012 18:44:46 -0700 |
| parents | ac99f4a8ce22 |
| children | b398837ef4aa |
| files | PrivateHash.c |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/PrivateHash.c Wed Jun 06 18:00:58 2012 -0700 1.2 +++ b/PrivateHash.c Thu Jun 14 18:44:46 2012 -0700 1.3 @@ -460,7 +460,8 @@ 1.4 return entry->content; 1.5 } 1.6 1.7 -/*Returns NULL if failed to insert, else returns ptr to hash entry */ 1.8 +/*Returns NULL if failed to insert, else returns ptr to hash entry 1.9 + * NOTE: does a copy of the key, so key can be alloc'd on stack */ 1.10 HashEntry * 1.11 addValueIntoTable32( uint32* key, void *content, HashTable *table ) 1.12 { unsigned int hashIdx;
