summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-10-05 21:24:55 (GMT)
committerhobbs <hobbs>2006-10-05 21:24:55 (GMT)
commit09a4df69886849c229acc747bd459109a2c7aa4a (patch)
treed6077e824e5917a9231a5f2fd44cbce8d165d195 /generic/tcl.h
parentb8250fee59da71021aa11343910dd4eb0594f003 (diff)
downloadtcl-09a4df69886849c229acc747bd459109a2c7aa4a.zip
tcl-09a4df69886849c229acc747bd459109a2c7aa4a.tar.gz
tcl-09a4df69886849c229acc747bd459109a2c7aa4a.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]
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