diff options
| author | dgp@users.sourceforge.net <dgp> | 2009-02-15 22:32:19 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2009-02-15 22:32:19 (GMT) |
| commit | e4dd65d01a52fdae624a434e903fc6529e9d81da (patch) | |
| tree | 111d23e254fa891d22c829ce3c92a8b9e988bda7 /generic/tclTestObj.c | |
| parent | 6432781b87dc27e045264127d11a0ac6bdaeb590 (diff) | |
| download | tcl-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
