summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-23 10:07:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-12-23 10:07:38 (GMT)
commit9c4eb9d12191daaee0a919967abc8f21b3f4fd99 (patch)
treedbbf5d9b49dba582d4ea6bd1f8c5c3d857a60a49 /generic/tclObj.c
parent9394984c31c5ff3087bbdc784811b2d57fda1114 (diff)
downloadtcl-9c4eb9d12191daaee0a919967abc8f21b3f4fd99.zip
tcl-9c4eb9d12191daaee0a919967abc8f21b3f4fd99.tar.gz
tcl-9c4eb9d12191daaee0a919967abc8f21b3f4fd99.tar.bz2
Deprecate otherValuePtr and ptrAndLongRep. Some more minor tweaks.
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index f004c3a..a6f8da3 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -309,11 +309,7 @@ const Tcl_HashKeyType tclObjHashKeyType = {
* argument in a Tcl command.
*
* NOTE: the ResolvedCmdName that gets cached is stored in the
- * twoPtrValue.ptr1 field, and the twoPtrValue.ptr2 field is unused. You might
- * think you could use the simpler otherValuePtr field to store the single
- * ResolvedCmdName pointer, but DO NOT DO THIS. It seems that some extensions
- * use the second internal pointer field of the twoPtrValue field for their
- * own purposes.
+ * twoPtrValue.ptr1 field, and the twoPtrValue.ptr2 field is unused.
*
* TRICKY POINT! Some extensions update this structure! (Notably, these
* include TclBlend and TCom). This is highly ill-advised on their part, but