diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-07 12:15:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-07 12:15:30 (GMT) |
commit | 48b529209c87473364215e8aef740e331f88415a (patch) | |
tree | 2b99ee7353c8fa0de3ddab2375e79ee25d320607 /doc | |
parent | c06751fdf8ec42ead80c501c199817370fbef853 (diff) | |
download | tcl-48b529209c87473364215e8aef740e331f88415a.zip tcl-48b529209c87473364215e8aef740e331f88415a.tar.gz tcl-48b529209c87473364215e8aef740e331f88415a.tar.bz2 |
Somewhat simplified implementation of TIP #389, in which the "string length" if characters > U+FFFF is considered to be 2, not 1.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/StringObj.3 | 2 | ||||
-rw-r--r-- | doc/ToUpper.3 | 2 | ||||
-rw-r--r-- | doc/Utf.3 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3 index 7042cc8..8d9bb56 100644 --- a/doc/StringObj.3 +++ b/doc/StringObj.3 @@ -37,7 +37,7 @@ Tcl_UniChar * Tcl_UniChar * \fBTcl_GetUnicode\fR(\fIobjPtr\fR) .sp -Tcl_UniChar +int \fBTcl_GetUniChar\fR(\fIobjPtr, index\fR) .sp int diff --git a/doc/ToUpper.3 b/doc/ToUpper.3 index b933e9c..14766da 100644 --- a/doc/ToUpper.3 +++ b/doc/ToUpper.3 @@ -13,7 +13,7 @@ Tcl_UniCharToUpper, Tcl_UniCharToLower, Tcl_UniCharToTitle, Tcl_UtfToUpper, Tcl_ .nf \fB#include <tcl.h>\fR .sp -Tcl_UniChar +int \fBTcl_UniCharToUpper\fR(\fIch\fR) .sp Tcl_UniChar @@ -63,7 +63,7 @@ const char * const char * \fBTcl_UtfPrev\fR(\fIsrc, start\fR) .sp -Tcl_UniChar +int \fBTcl_UniCharAtIndex\fR(\fIsrc, index\fR) .sp const char * |