diff options
author | ericm <ericm> | 2000-07-22 01:53:22 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-07-22 01:53:22 (GMT) |
commit | 7e0295a66dc84bcd0d160a06db15078c99a5a721 (patch) | |
tree | cc6c8ae5abff9a30cba78ef7e9e424cfec665f77 /generic/tclInt.h | |
parent | e84c30ea9c268e7c900598cb5ddf81148fcb27da (diff) | |
download | tcl-7e0295a66dc84bcd0d160a06db15078c99a5a721.zip tcl-7e0295a66dc84bcd0d160a06db15078c99a5a721.tar.gz tcl-7e0295a66dc84bcd0d160a06db15078c99a5a721.tar.bz2 |
* generic/tclStubInit.c:
* generic/tclObj.c:
* generic/tclInt.h:
* generic/tclHash.c:
* generic/tclDecls.h:
* generic/tcl.h:
* generic/tcl.decls:
* doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables
to allow custom key types, such as Tcl_Obj *'s, and others.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index faf48e4..b8571ee 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.47 2000/07/20 20:33:26 ericm Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.48 2000/07/22 01:53:24 ericm Exp $ */ #ifndef _TCLINT @@ -1540,6 +1540,15 @@ extern Tcl_ObjType tclProcBodyType; extern Tcl_ObjType tclStringType; /* + * Variables denoting the hash key types defined in the core. + */ + +extern Tcl_HashKeyType tclArrayHashKeyType; +extern Tcl_HashKeyType tclOneWordHashKeyType; +extern Tcl_HashKeyType tclStringHashKeyType; +extern Tcl_HashKeyType tclObjHashKeyType; + +/* * The head of the list of free Tcl objects, and the total number of Tcl * objects ever allocated and freed. */ |