diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2022-11-13 06:37:55 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2022-11-13 06:37:55 (GMT) |
commit | 7dc710b2f42b81cfac6a8e5b8a80f4acf35aee78 (patch) | |
tree | a01e97cc6b10b9531ab2f46a82c193123170642a /doc | |
parent | da2f3cbd20961b0db49be2d29f5625636030f940 (diff) | |
download | tcl-7dc710b2f42b81cfac6a8e5b8a80f4acf35aee78.zip tcl-7dc710b2f42b81cfac6a8e5b8a80f4acf35aee78.tar.gz tcl-7dc710b2f42b81cfac6a8e5b8a80f4acf35aee78.tar.bz2 |
Update Tcl_ObjType documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ObjectType.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ObjectType.3 b/doc/ObjectType.3 index 9f8d04f..3e6d0c2 100644 --- a/doc/ObjectType.3 +++ b/doc/ObjectType.3 @@ -109,6 +109,7 @@ typedef struct Tcl_ObjType { Tcl_DupInternalRepProc *\fIdupIntRepProc\fR; Tcl_UpdateStringProc *\fIupdateStringProc\fR; Tcl_SetFromAnyProc *\fIsetFromAnyProc\fR; + size_t \fIversion\fR; } \fBTcl_ObjType\fR; .CE .SS "THE NAME FIELD" @@ -253,6 +254,10 @@ Note that if a subsidiary value has its reference count reduced to zero during the running of a \fIfreeIntRepProc\fR, that value may be not freed immediately, in order to limit stack usage. However, the value will be freed before the outermost current \fBTcl_DecrRefCount\fR returns. +.SS "THE VERSION FIELD" +.PP +The \fIversion\fR member provides for future extensibility of the structure +and should be set to \fITCL_OBJTYPE_V0\fR. .SH "REFERENCE COUNT MANAGEMENT" .PP The \fIobjPtr\fR argument to \fBTcl_AppendAllObjTypes\fR should be an unshared |