diff options
| author | nijtmans <nijtmans> | 2008-07-27 22:18:21 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-07-27 22:18:21 (GMT) |
| commit | b2e7b49892ce1583fe3100cb3e31beeae3edfa5e (patch) | |
| tree | 9addfbbe83939c7f293726911007b5a5c83bb4be /doc/Object.3 | |
| parent | 7ee3fb9b5cd47ee379f827845e6b22ee6ca09823 (diff) | |
| download | tcl-b2e7b49892ce1583fe3100cb3e31beeae3edfa5e.zip tcl-b2e7b49892ce1583fe3100cb3e31beeae3edfa5e.tar.gz tcl-b2e7b49892ce1583fe3100cb3e31beeae3edfa5e.tar.bz2 | |
* doc/Object.3 CONSTified 3 functions using
* doc/ObjectType.3 Tcl_ObjType which all are supposed
* generic/tcl.decls to be a constant, but this was not
* generic/tcl.h reflected in the API:
* generic/tclDecls.h Tcl_ConvertToType
* generic/tclObj.c Tcl_GetObjType
* generic/tclCompCmds.c Tcl_RegisterObjType
* generic/tclOOMethod.c Introduced a CONST86_RETURN, so extensions which
* generic/tclTestobj.c use Tcl_ObjType directly can be modified to compile
against both Tcl 8.5 and Tcl 8.6
tclDecls.h is re-generated with "make genstubs"
This change complies with TIP #24
***POTENTIAL INCOMPATIBILITY***
Diffstat (limited to 'doc/Object.3')
| -rw-r--r-- | doc/Object.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Object.3 b/doc/Object.3 index 6951f10..3b6abc8 100644 --- a/doc/Object.3 +++ b/doc/Object.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: Object.3,v 1.20 2008/06/29 22:28:24 dkf Exp $ +'\" RCS: @(#) $Id: Object.3,v 1.21 2008/07/27 22:18:21 nijtmans Exp $ '\" .so man.macros .TH Tcl_Obj 3 8.5 Tcl "Tcl Library Procedures" @@ -114,7 +114,7 @@ typedef struct Tcl_Obj { int \fIrefCount\fR; char *\fIbytes\fR; int \fIlength\fR; - Tcl_ObjType *\fItypePtr\fR; + const Tcl_ObjType *\fItypePtr\fR; union { long \fIlongValue\fR; double \fIdoubleValue\fR; |
