diff options
author | ericm <ericm> | 2000-07-19 22:15:28 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-07-19 22:15:28 (GMT) |
commit | 36c983a93395d03061b02a8ac82105313991650f (patch) | |
tree | ca5b2921b3c60013f2c00545146190946b6ef5e8 /generic/tclInt.h | |
parent | 8c6040fe85cad9ab5bb5452596ea1107e155f450 (diff) | |
download | tcl-36c983a93395d03061b02a8ac82105313991650f.zip tcl-36c983a93395d03061b02a8ac82105313991650f.tar.gz tcl-36c983a93395d03061b02a8ac82105313991650f.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: Applied 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 5edf6f1..b513b45 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.45 2000/05/26 08:51:44 hobbs Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.46 2000/07/19 22:15:30 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. */ |