diff options
author | hobbs <hobbs> | 2006-10-05 21:24:39 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2006-10-05 21:24:39 (GMT) |
commit | d78a8ea8c98971dec54e3bf5c738432029bb7e61 (patch) | |
tree | 82fd1cd2dec7ddd5c18e1f14ddf44d3e52aa27c6 /generic/tcl.h | |
parent | 46aff41e83607a2efd59982d1393cff759ba692e (diff) | |
download | tcl-d78a8ea8c98971dec54e3bf5c738432029bb7e61.zip tcl-d78a8ea8c98971dec54e3bf5c738432029bb7e61.tar.gz tcl-d78a8ea8c98971dec54e3bf5c738432029bb7e61.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.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index cc79407..bc89666 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.216 2006/09/26 14:08:36 dgp Exp $ + * RCS: @(#) $Id: tcl.h,v 1.217 2006/10/05 21:24:39 hobbs Exp $ */ #ifndef _TCL @@ -2302,7 +2302,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. + * 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 |