Overview
| Comment: | * generic/tclStringObj.c: Rewrites of the routines Tcl_GetCharLength, Tcl_GetUniChar, Tcl_GetUnicodeFromObj, Tcl_GetRange, and TclStringObjReverse to use the new macro, and to more simply and clearly split the cases depending on whether a valid unicode rep is present or needs to be created. * generic/tclInt.h: New macro TclNumUtfChars meant to be a faster replacement for a full Tcl_NumUtfChars() call when the string has all single-byte characters. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
d2191985b45e05304fe00ddc6a7fec7a |
| User & Date: | dgp on 2009-02-13 03:22:51.000 |
| Other Links: | manifest | tags |
Context
|
2009-02-13
| ||
| 04:01 | New utility routine UnicodeLength(), to compute the length of unicode buffer argumen... check-in: 42a8e6fdf2 user: dgp tags: trunk | |
| 03:22 | * generic/tclStringObj.c: Rewrites of the routines Tcl_GetCharLength, Tcl_GetU... check-in: d2191985b4 user: dgp tags: trunk | |
|
2009-02-12
| ||
| 17:08 | * generic/tclStringObj.c: Simplified Tcl_GetCharLength by * generic/tclTestObj... check-in: 215d13fc4c user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [61e394c8ce]
to [79f42093d1].
[diff]
Modified generic/tclInt.h
from [bd6b23a6e7]
to [8e6d3eeb7f].
[diff]
Modified generic/tclStringObj.c
from [7097b33680]
to [e4a00cbd48].
[diff]