summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2006-10-05 21:24:55 (GMT)
committerhobbs <hobbs@noemail.net>2006-10-05 21:24:55 (GMT)
commitc1f5046a47c48b0577fed7ff03468db6bbc0d241 (patch)
treed6077e824e5917a9231a5f2fd44cbce8d165d195 /generic/tcl.h
parentb2689e9eb4d0176311c41ad86f53c7877b6f9892 (diff)
downloadtcl-c1f5046a47c48b0577fed7ff03468db6bbc0d241.zip
tcl-c1f5046a47c48b0577fed7ff03468db6bbc0d241.tar.gz
tcl-c1f5046a47c48b0577fed7ff03468db6bbc0d241.tar.bz2
* generic/tcl.h: note limitation on changing Tcl_UniChar size
* generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): * tests/encoding.test (encoding-16.1): fix alignment issues in unicode <> utf conversion procs. [Bug 1122671] FossilOrigin-Name: b800442074e2773c8356ec9e18e7d1b06e54338a
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index d7bdc90..696076b 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.153.2.28 2006/09/26 21:40:36 patthoyts Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.153.2.29 2006/10/05 21:24:56 hobbs Exp $
*/
#ifndef _TCL
@@ -2238,7 +2238,11 @@ typedef struct Tcl_Parse {
/*
* unsigned int isn't 100% accurate as it should be a strict 4-byte
* value (perhaps wchar_t). 64-bit systems may have troubles. The
- * size of this value must be reflected correctly in regcustom.h.
+ * size of this value must be reflected correctly in regcustom.h and
+ * in tclEncoding.c.
+ * XXX: Tcl is currently UCS-2 and planning UTF-16 for the Unicode
+ * XXX: string rep that Tcl_UniChar represents. Changing the size
+ * XXX: of Tcl_UniChar is /not/ supported.
*/
typedef unsigned int Tcl_UniChar;
#else