summaryrefslogtreecommitdiffstats
path: root/doc/Hash.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-12 13:44:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-12 13:44:26 (GMT)
commitb11d2bb62de6e5fe26ac66bcd0f447afcfd00609 (patch)
treeed2a2c3cdb9d99794e2c09daee427b78362051b3 /doc/Hash.3
parente0a474120456c4582b0dc3e64f1f21356a8e5c9c (diff)
downloadtcl-b11d2bb62de6e5fe26ac66bcd0f447afcfd00609.zip
tcl-b11d2bb62de6e5fe26ac66bcd0f447afcfd00609.tar.gz
tcl-b11d2bb62de6e5fe26ac66bcd0f447afcfd00609.tar.bz2
Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9.
Diffstat (limited to 'doc/Hash.3')
-rw-r--r--doc/Hash.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Hash.3 b/doc/Hash.3
index 4dc3623..aa79b86 100644
--- a/doc/Hash.3
+++ b/doc/Hash.3
@@ -281,7 +281,7 @@ The \fIhashKeyProc\fR member contains the address of a function called to
calculate a hash value for the key.
.PP
.CS
-typedef unsigned int \fBTcl_HashKeyProc\fR(
+typedef TCL_HASH_TYPE \fBTcl_HashKeyProc\fR(
Tcl_HashTable *\fItablePtr\fR,
void *\fIkeyPtr\fR);
.CE