summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-11-14 23:21:01 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-11-14 23:21:01 (GMT)
commit8200862cb7c911e184f4b9f35578e67f2000cf11 (patch)
tree2b42c119e735fa5a23d1e4521793e39cf223ad8f /generic/tcl.h
parentf3987dcd1d334e845d4fe6448f4a11e104392a96 (diff)
downloadtcl-8200862cb7c911e184f4b9f35578e67f2000cf11.zip
tcl-8200862cb7c911e184f4b9f35578e67f2000cf11.tar.gz
tcl-8200862cb7c911e184f4b9f35578e67f2000cf11.tar.bz2
TIP#138 implementation plus extra test stuff [Patch 731356]
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 7a9a7dd..8ac310e 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tcl.h,v 1.167 2003/11/14 20:44:44 dgp Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.168 2003/11/14 23:21:02 dkf Exp $
*/
#ifndef _TCL
@@ -1169,8 +1169,13 @@ struct Tcl_HashEntry {
* hash table will attempt to rectify this by
* randomising the bits and then using the upper
* N bits as the index into the table.
+ * TCL_HASH_KEY_SYSTEM_HASH:
+ * If this flag is set then all memory internally
+ * allocated for the hash table that is not for an
+ * entry will use the system heap.
*/
#define TCL_HASH_KEY_RANDOMIZE_HASH 0x1
+#define TCL_HASH_KEY_SYSTEM_HASH 0x2
/*
* Structure definition for the methods associated with a hash table