Tcl Source Code

Changes On Branch tip-634
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch tip-634 Excluding Merge-Ins

This is equivalent to a diff from 5792411283 to a058be5f26

2022-10-11
14:41
Update man-page check-in: f672eb5ed8 user: jan.nijtmans tags: trunk, main
14:40
Merge 9.0 Closed-Leaf check-in: a058be5f26 user: jan.nijtmans tags: tip-634
14:39
merge fork check-in: 53d03121ee user: jan.nijtmans tags: tip-634
14:37
Merge 8.7 check-in: 5792411283 user: jan.nijtmans tags: trunk, main
14:22
Few more formatting errors check-in: 1b0733d08b user: jan.nijtmans tags: core-8-branch
14:04
Merge 8.7 check-in: d3768f245b user: jan.nijtmans tags: trunk, main

Changes to doc/TraceVar.3.

133
134
135
136
137
138
139
140
141
142


143
144
145
146
147
148
149
.PP
The \fIclientData\fR and \fIinterp\fR parameters will
have the same values as those passed to \fBTcl_TraceVar\fR when the
trace was created.
\fIclientData\fR typically points to an application-specific
data structure that describes what to do when \fIproc\fR
is invoked.
\fIName1\fR and \fIname2\fR give the name of the traced variable
in the normal two-part form (see the description of \fBTcl_TraceVar2\fR
below for details).


\fIFlags\fR is an OR-ed combination of bits providing several
pieces of information.
One of the bits \fBTCL_TRACE_READS\fR, \fBTCL_TRACE_WRITES\fR,
\fBTCL_TRACE_ARRAY\fR, or \fBTCL_TRACE_UNSETS\fR
will be set in \fIflags\fR to indicate which operation is being performed
on the variable.
The bit \fBTCL_GLOBAL_ONLY\fR will be set whenever the variable being







|
|
|
>
>







133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.PP
The \fIclientData\fR and \fIinterp\fR parameters will
have the same values as those passed to \fBTcl_TraceVar\fR when the
trace was created.
\fIclientData\fR typically points to an application-specific
data structure that describes what to do when \fIproc\fR
is invoked.
\fIName1\fR and \fIname2\fR give the name of the variable that
triggered the callback in the normal two-part form (see the description
of \fBTcl_TraceVar2\fR below for details).  In case \fIname1\fR is an
alias to an array element (created through facilities such as \fBupvar\fR),
\fIname2\fR holds the index of the array element, rather than NULL.
\fIFlags\fR is an OR-ed combination of bits providing several
pieces of information.
One of the bits \fBTCL_TRACE_READS\fR, \fBTCL_TRACE_WRITES\fR,
\fBTCL_TRACE_ARRAY\fR, or \fBTCL_TRACE_UNSETS\fR
will be set in \fIflags\fR to indicate which operation is being performed
on the variable.
The bit \fBTCL_GLOBAL_ONLY\fR will be set whenever the variable being