diff options
author | Kevin B Kenny <kennykb@acm.org> | 2001-04-04 16:07:20 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2001-04-04 16:07:20 (GMT) |
commit | 2c48422a192dbde1b5a70ff98215341aa88272ad (patch) | |
tree | 742b0af0f8ca321b69d41c90f80cffe211fd3e73 /doc/StringObj.3 | |
parent | 947cb3910acc0fd7e89f2f78b6f487d6862be815 (diff) | |
download | tcl-2c48422a192dbde1b5a70ff98215341aa88272ad.zip tcl-2c48422a192dbde1b5a70ff98215341aa88272ad.tar.gz tcl-2c48422a192dbde1b5a70ff98215341aa88272ad.tar.bz2 |
(TIP#27) Changed a number of Tcl API's to accept "CONST char*"
in place of simple "char*". (kennykb) [Patch #404026]
Diffstat (limited to 'doc/StringObj.3')
-rw-r--r-- | doc/StringObj.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/StringObj.3 b/doc/StringObj.3 index 23273d0..4be6eef 100644 --- a/doc/StringObj.3 +++ b/doc/StringObj.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: StringObj.3,v 1.6 2000/09/14 18:42:29 ericm Exp $ +'\" RCS: @(#) $Id: StringObj.3,v 1.7 2001/04/04 16:07:20 kennykb Exp $ '\" .so man.macros .TH Tcl_StringObj 3 8.1 Tcl "Tcl Library Procedures" @@ -78,7 +78,7 @@ Tcl_Obj * \fBTcl_ConcatObj\fR(\fIobjc, objv\fR) .SH ARGUMENTS .AS Tcl_Interp *appendObjPtr in/out -.AP char *bytes in +.AP "CONST char" *bytes in Points to the first byte of an array of bytes used to set or append to a string object. This byte array may contain embedded null bytes @@ -87,7 +87,7 @@ unless \fIlength\fR is negative. The number of bytes to copy from \fIbytes\fR when initializing, setting, or appending to a string object. If negative, all bytes up to the first null are used. -.AP Tcl_UniChar *unicode in +.AP "CONST Tcl_UniChar" *unicode in Points to the first byte of an array of Unicode characters used to set or append to a string object. This byte array may contain embedded null characters @@ -113,7 +113,7 @@ The object to append to \fIobjPtr\fR in \fBTcl_AppendObjToObj\fR. .AP int *lengthPtr out If non-NULL, the location where \fBTcl_GetStringFromObj\fR will store the the length of an object's string representation. -.AP char *string in +.AP "CONST char" *string in Null-terminated string value to append to \fIobjPtr\fR. .AP va_list argList in An argument list which must have been initialised using |