diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-18 10:29:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-18 10:29:41 (GMT) |
commit | b2a63152cbf72e7a23e9870d94bbf551373ef84b (patch) | |
tree | 7edbe522c18e704c6481c96aaa17f1163c688ca7 /doc/Utf.3 | |
parent | f1dbfbf21581370d5dad9cbeb4c8ac09f93fb30c (diff) | |
download | tcl-b2a63152cbf72e7a23e9870d94bbf551373ef84b.zip tcl-b2a63152cbf72e7a23e9870d94bbf551373ef84b.tar.gz tcl-b2a63152cbf72e7a23e9870d94bbf551373ef84b.tar.bz2 |
Now that we have TCL_AUTO_LENGTH/TCL_IO_FAILURE macro's, use them to make code and documentation more readable.
Shifted to feature branch as a temporary measure since it doesn't build.
Diffstat (limited to 'doc/Utf.3')
-rw-r--r-- | doc/Utf.3 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ A null-terminated Unicode string. A null-terminated Unicode string. .AP size_t length in The length of the UTF-8 string in bytes (not UTF-8 characters). If -(size_t)-1, all bytes up to the first null byte are used. +TCL_AUTO_LENGTH, all bytes up to the first null byte are used. .AP size_t uniLength in The length of the Unicode string in characters. .AP "Tcl_DString" *dsPtr in/out @@ -243,7 +243,7 @@ characters. \fBTcl_UtfAtIndex\fR returns a pointer to the specified character (not byte) \fIindex\fR in the UTF-8 string \fIsrc\fR. The source string must contain at least \fIindex\fR characters. This is equivalent to calling -\fBTcl_UtfNext\fR \fIindex\fR times. If \fIindex\fR is (size_t)-1, +\fBTcl_UtfNext\fR \fIindex\fR times. If \fIindex\fR is TCL_AUTO_LENGTH, the return pointer points to the first character in the source string. .PP \fBTcl_UtfBackslash\fR is a utility procedure used by several of the Tcl |