diff options
author | dgp <dgp@users.sourceforge.net> | 2009-02-13 04:01:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-02-13 04:01:46 (GMT) |
commit | cff88797e19e9d9e0a3fd02e8936ae008e43db36 (patch) | |
tree | 745b4e1c53cf07dca81f882db72b8dd58d1cc9bc /ChangeLog | |
parent | f819f7990a8794c9429eb83b8f912950b85d0a91 (diff) | |
download | tcl-cff88797e19e9d9e0a3fd02e8936ae008e43db36.zip tcl-cff88797e19e9d9e0a3fd02e8936ae008e43db36.tar.gz tcl-cff88797e19e9d9e0a3fd02e8936ae008e43db36.tar.bz2 |
New utility routine UnicodeLength(), to compute the length of unicode
buffer arguments when no length is passed in, with built-in
overflow protection included. Update three callers to use it.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,9 @@ 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. + New utility routine UnicodeLength(), to compute the length of unicode + buffer arguments when no length is passed in, with built-in + overflow protection included. Update three callers to use it. * generic/tclInt.h: New macro TclNumUtfChars meant to be a faster replacement for a full Tcl_NumUtfChars() call when the string has all |