summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2009-02-15 22:32:19 (GMT)
committerdgp@users.sourceforge.net <dgp>2009-02-15 22:32:19 (GMT)
commite4dd65d01a52fdae624a434e903fc6529e9d81da (patch)
tree111d23e254fa891d22c829ce3c92a8b9e988bda7 /generic/tclTestObj.c
parent6432781b87dc27e045264127d11a0ac6bdaeb590 (diff)
downloadtcl-e4dd65d01a52fdae624a434e903fc6529e9d81da.zip
tcl-e4dd65d01a52fdae624a434e903fc6529e9d81da.tar.gz
tcl-e4dd65d01a52fdae624a434e903fc6529e9d81da.tar.bz2
* generic/tclStringObj.c: Replace the 'size_t uallocated' field
of the String struct, storing the number of bytes allocated to store the Tcl_UniChar array, with an 'int maxChars' field, storing the number of Tcl_UniChars that may be stored in the allocated space. This reduces memory requirement a small bit, and makes some range checks simpler to code.
Diffstat (limited to 'generic/tclTestObj.c')
0 files changed, 0 insertions, 0 deletions