diff options
author | dgp <dgp@users.sourceforge.net> | 2009-02-13 03:22:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-02-13 03:22:51 (GMT) |
commit | f819f7990a8794c9429eb83b8f912950b85d0a91 (patch) | |
tree | 9f47ca210d9c3fa3b8d6fe297252cc4cded4ecc6 /generic/regc_color.c | |
parent | ebd799b7e4d40a843ff6c49f8fc77670acf6b67a (diff) | |
download | tcl-f819f7990a8794c9429eb83b8f912950b85d0a91.zip tcl-f819f7990a8794c9429eb83b8f912950b85d0a91.tar.gz tcl-f819f7990a8794c9429eb83b8f912950b85d0a91.tar.bz2 |
* 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.
Diffstat (limited to 'generic/regc_color.c')
0 files changed, 0 insertions, 0 deletions