projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b4bdc
)
Add comment.
author
Bruno Haible
<bruno@clisp.org>
Thu, 30 Oct 2003 13:52:10 +0000
(13:52 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 30 Oct 2003 13:52:10 +0000
(13:52 +0000)
lib/hash-pjw.h
patch
|
blob
|
history
diff --git
a/lib/hash-pjw.h
b/lib/hash-pjw.h
index b2a09949439c3eb99639f652d08838c30771c2fe..5847a25280cf58d7f3569079a2e16c816f93e01d 100644
(file)
--- a/
lib/hash-pjw.h
+++ b/
lib/hash-pjw.h
@@
-18,4
+18,8
@@
#include <stddef.h>
-size_t hash_pjw (void const *x, size_t tablesize);
+/* Compute a hash code for a NUL-terminated string starting at X,
+ and return the hash code modulo TABLESIZE.
+ The result is platform dependent: it depends on the size of the 'size_t'
+ type and on the signedness of the 'char' type. */
+extern size_t hash_pjw (void const *x, size_t tablesize);