Skip to content

Commit 63e9aa6

Browse files
committed
Correct comment in simplehash.h.
Post-commit review for commit 84c0e4b. Author: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAApHDvptBx_%2BUPAzY0uXzopbvPVGKPeZ6Hoy8rnPcWz20Cr0Bw%40mail.gmail.com
1 parent 533020d commit 63e9aa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/include/lib/simplehash.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
* - SH_STORE_HASH - if defined the hash is stored in the elements
5252
* - SH_GET_HASH(tb, a) - return the field to store the hash in
5353
*
54-
* The element type is required to contain a "uint32 status" member.
54+
* The element type is required to contain a "status" member that can store
55+
* the range of values defined in the SH_STATUS enum.
5556
*
5657
* While SH_STORE_HASH (and subsequently SH_GET_HASH) are optional, because
5758
* the hash table implementation needs to compare hashes to move elements

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy