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)
commit71e7049f8ea65780583e847f2b3055b519395517 (patch)
treeed2a2c3cdb9d99794e2c09daee427b78362051b3 /doc/Hash.3
parent7ad31bb0a3bc7e0e2a4a4ce4c6f05eb21f250f64 (diff)
downloadtcl-71e7049f8ea65780583e847f2b3055b519395517.zip
tcl-71e7049f8ea65780583e847f2b3055b519395517.tar.gz
tcl-71e7049f8ea65780583e847f2b3055b519395517.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