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/tcl.decls | |
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/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 39a6c21..fd5bb54 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.35 2000/05/08 21:59:58 hobbs Exp $ +# RCS: @(#) $Id: tcl.decls,v 1.36 2000/07/19 22:15:29 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 |