Skip to content
Tcl Source Code Check-in [8754f4357d]
Login

Check-in [8754f4357d]

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: 8754f4357dd665fbf1fb1dff69b564b48be7e94a
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