summaryrefslogtreecommitdiffstats
path: root/doc/Object.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-16 08:39:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-16 08:39:41 (GMT)
commit65007a4d02a35e26d92288bc5a20aa1bfde3696e (patch)
treec264b56e806cbe9a5abab70ed5a5db0cb1d16c52 /doc/Object.3
parentba9e81068ee1511c522e2662c836ccd697502854 (diff)
downloadtcl-65007a4d02a35e26d92288bc5a20aa1bfde3696e.zip
tcl-65007a4d02a35e26d92288bc5a20aa1bfde3696e.tar.gz
tcl-65007a4d02a35e26d92288bc5a20aa1bfde3696e.tar.bz2
No longer document (even though it's only in an example) that Tcl_SavedResult is a struct, and that the internal representation of an int is stored in the object's internalRep.longValue member. That might no longer be true in the future.
Diffstat (limited to 'doc/Object.3')
-rw-r--r--doc/Object.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Object.3 b/doc/Object.3
index 4df6c1a..a7e06c8 100644
--- a/doc/Object.3
+++ b/doc/Object.3
@@ -3,7 +3,7 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
+'\"
.TH Tcl_Obj 3 8.5 Tcl "Tcl Library Procedures"
.so man.macros
.BS
@@ -94,7 +94,7 @@ Also, most Tcl values are only read and never modified.
This is especially true for procedure arguments,
which can be shared between the caller and the called procedure.
Assignment and argument binding is done by
-simply assigning a pointer to the value.
+simply assigning a pointer to the value.
Reference counting is used to determine when it is safe to
reclaim an object's storage.
.PP
@@ -249,7 +249,7 @@ The \fBincr\fR command first gets an integer from \fIx\fR's object
by calling \fBTcl_GetIntFromObj\fR.
This procedure checks whether the object is already an integer object.
Since it is not, it converts the object
-by setting the object's \fIinternalRep.longValue\fR member
+by setting the object's internal representation
to the integer \fB123\fR
and setting the object's \fItypePtr\fR
to point to the integer Tcl_ObjType structure.