summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-07-12 19:42:28 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-07-12 19:42:28 (GMT)
commit028be55e0664270774c90cfc4d938377ccaf3d39 (patch)
tree9fb2b00b6bc3cc70d9ffd42a38545e5dfe92ab96 /generic/tcl.h
parentae5dadd25f93555cbf493c1b9783e6da4bacb0a1 (diff)
parent800148e0621ab1e28457aa915d37dd5c36c1ba77 (diff)
downloadtcl-028be55e0664270774c90cfc4d938377ccaf3d39.zip
tcl-028be55e0664270774c90cfc4d938377ccaf3d39.tar.gz
tcl-028be55e0664270774c90cfc4d938377ccaf3d39.tar.bz2
merge trunk
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 3f293f0..c729d51 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -1161,11 +1161,15 @@ typedef struct Tcl_DString {
* Forward declarations of Tcl_HashTable and related types.
*/
+#ifndef TCL_HASH_TYPE
+# define TCL_HASH_TYPE unsigned
+#endif
+
typedef struct Tcl_HashKeyType Tcl_HashKeyType;
typedef struct Tcl_HashTable Tcl_HashTable;
typedef struct Tcl_HashEntry Tcl_HashEntry;
-typedef unsigned (Tcl_HashKeyProc) (Tcl_HashTable *tablePtr, void *keyPtr);
+typedef TCL_HASH_TYPE (Tcl_HashKeyProc) (Tcl_HashTable *tablePtr, void *keyPtr);
typedef int (Tcl_CompareHashKeysProc) (void *keyPtr, Tcl_HashEntry *hPtr);
typedef Tcl_HashEntry * (Tcl_AllocHashEntryProc) (Tcl_HashTable *tablePtr,
void *keyPtr);