summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorandreask@activestate.com <andreas_kupries>2003-06-09 22:48:32 (GMT)
committerandreask@activestate.com <andreas_kupries>2003-06-09 22:48:32 (GMT)
commit0ef7bdc11c06e16c0d19d7a7f8200e7d7448b90d (patch)
tree9f56d3de04d71da41a5b38e81e4714993d4d0af1 /generic/tcl.h
parent57b2eae850c6e09eb64cd3c93a74b68a8bf93036 (diff)
downloadtcl-0ef7bdc11c06e16c0d19d7a7f8200e7d7448b90d.zip
tcl-0ef7bdc11c06e16c0d19d7a7f8200e7d7448b90d.tar.gz
tcl-0ef7bdc11c06e16c0d19d7a7f8200e7d7448b90d.tar.bz2
* generic/tcl.decls: Ported the changes from the
* generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 5885e15..6c87307 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,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.h,v 1.157 2003/04/16 23:33:43 dgp Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.158 2003/06/09 22:48:32 andreas_kupries Exp $
*/
#ifndef _TCL
@@ -2196,6 +2196,16 @@ typedef struct Tcl_Parse {
*/
typedef unsigned short Tcl_UniChar;
+/* TIP #59: The following structure is used in calls
+ * 'Tcl_RegisterConfig' to provide the system with the embedded
+ * configuration data.
+ */
+
+typedef struct Tcl_Config {
+ CONST char* key; /* Configuration key to register. ASCII encoded, thus UTF-8 */
+ CONST char* value; /* The value associated with the key. System encoding */
+} Tcl_Config;
+
/*
* Deprecated Tcl procedures: