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/tcl.decls | |
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/tcl.decls')
-rw-r--r-- | generic/tcl.decls | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls index 869a402..ea5b6d2 100644 --- a/generic/tcl.decls +++ b/generic/tcl.decls @@ -10,7 +10,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.decls,v 1.37 2000/07/20 20:33:25 ericm Exp $ +# RCS: @(#) $Id: tcl.decls,v 1.38 2000/07/22 01:53:23 ericm Exp $ library tcl @@ -1388,6 +1388,25 @@ declare 402 generic { CONST Tcl_UniChar *pattern, int nocase) } +declare 403 generic { + Tcl_HashEntry *Tcl_FindHashEntry(Tcl_HashTable *tablePtr, \ + CONST char *key) +} + +declare 404 generic { + Tcl_HashEntry *Tcl_CreateHashEntry(Tcl_HashTable *tablePtr, \ + CONST char *key, int *newPtr) +} + +declare 405 generic { + void Tcl_InitHashTableEx(Tcl_HashTable *tablePtr, int keyType, \ + Tcl_HashKeyType *typePtr) +} + +declare 406 generic { + void Tcl_InitObjHashTable(Tcl_HashTable *tablePtr) +} + ############################################################################## # Define the platform specific public Tcl interface. These functions are |