summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
diff options
context:
space:
mode:
authorericm <ericm>2000-07-19 22:15:28 (GMT)
committerericm <ericm>2000-07-19 22:15:28 (GMT)
commit36c983a93395d03061b02a8ac82105313991650f (patch)
treeca5b2921b3c60013f2c00545146190946b6ef5e8 /generic/tcl.decls
parent8c6040fe85cad9ab5bb5452596ea1107e155f450 (diff)
downloadtcl-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.decls21
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