summaryrefslogtreecommitdiffstats
path: root/doc/ObjectType.3
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-02-26 02:22:20 (GMT)
committerhobbs <hobbs>2002-02-26 02:22:20 (GMT)
commita250b602bbacce9038f853923b404d201515d375 (patch)
tree158a5169c133ef118e679f04aba398690ac940e5 /doc/ObjectType.3
parentf8727f56d1dfd46f35afb51029e6395ca1481153 (diff)
downloadtcl-a250b602bbacce9038f853923b404d201515d375.zip
tcl-a250b602bbacce9038f853923b404d201515d375.tar.gz
tcl-a250b602bbacce9038f853923b404d201515d375.tar.bz2
* doc/Alloc.3:
* doc/LinkVar.3: * doc/ObjectType.3: * doc/PkgRequire.3: * doc/Preserve.3: * doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc, ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and to accurately describe when and how they are used. [Bug #497459] (dgp)
Diffstat (limited to 'doc/ObjectType.3')
-rw-r--r--doc/ObjectType.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ObjectType.3 b/doc/ObjectType.3
index eee70e5..17ce609 100644
--- a/doc/ObjectType.3
+++ b/doc/ObjectType.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: ObjectType.3,v 1.5 2002/01/25 21:36:09 dgp Exp $
+'\" RCS: @(#) $Id: ObjectType.3,v 1.6 2002/02/26 02:22:20 hobbs Exp $
'\"
.so man.macros
.TH Tcl_ObjType 3 8.0 Tcl "Tcl Library Procedures"
@@ -147,8 +147,8 @@ We require the string representation's byte array
to have a null after the last byte, at offset \fIlength\fR;
this allows string representations that do not contain null bytes
to be treated as conventional null character-terminated C strings.
-Storage for the byte array must be allocated in the heap by \fBTcl_Alloc\fR.
-Note that \fIupdateStringProc\fRs must allocate
+Storage for the byte array must be allocated in the heap by \fBTcl_Alloc\fR
+or \fBckalloc\fR. Note that \fIupdateStringProc\fRs must allocate
enough storage for the string's bytes and the terminating null byte.
The \fIupdateStringProc\fR for Tcl's builtin list type, for example,
builds an array of strings for each element object