diff options
author | dgp <dgp@users.sourceforge.net> | 2009-02-17 21:40:48 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-02-17 21:40:48 (GMT) |
commit | 72ccff69bc0257f9100758149d569b6299654067 (patch) | |
tree | 8e603cd497ab3874a9afa85dedd7ab1c8ce90b68 /pkgs | |
parent | 2a06ac14dadfef67de933e930cfec32263642fef (diff) | |
download | tcl-72ccff69bc0257f9100758149d569b6299654067.zip tcl-72ccff69bc0257f9100758149d569b6299654067.tar.gz tcl-72ccff69bc0257f9100758149d569b6299654067.tar.bz2 |
* generic/tclStringObj.c: Pare back the length of the unicode
array in a non-extended String struct to one Tcl_UniChar, meant to
hold the terminating NUL character. Non-empty unicode strings are
then stored by extending the String struct by stringPtr->maxChars
additional slots in that array with sizeof(Tcl_UniChar) bytes per slot.
This revision makes the allocation macros much simpler.
Diffstat (limited to 'pkgs')
0 files changed, 0 insertions, 0 deletions