Overview
| Comment: | * 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
8754f4357dd665fbf1fb1dff69b564b4 |
| User & Date: | dgp on 2009-02-17 21:40:48.000 |
| Other Links: | manifest | tags |
Context
|
2009-02-18
| ||
| 06:26 | * generic/tclStringObj.c: Another round of simplification on the allocation ma... check-in: 61fb6cf251 user: dgp tags: trunk | |
|
2009-02-17
| ||
| 21:40 | * generic/tclStringObj.c: Pare back the length of the unicode array in a non-e... check-in: 8754f4357d user: dgp tags: trunk | |
| 21:05 | * generic/tclStringObj.c: Factor out common GrowUnicodeBuffer() and solve over... check-in: cfe9911057 user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [1aaefd4165]
to [cc027c06b9].
[diff]
Modified generic/tclStringObj.c
from [a6ae2afc1a]
to [93284a937e].
[diff]