概要
インタプリタのトレースが有効になったとき、この構造体がインタプリタに関連づけられた構造体のリストに追加される。
メンバー
ソース
/*
* When an interpreter trace is active (i.e. its associated procedure is
* executing), one of the following structures is linked into a list
* associated with the interpreter. The information in the structure is needed
* in order for Tcl to behave reasonably if traces are deleted while traces
* are active.
*/
typedef struct Trace {
int level; /* Only trace commands at nesting level less
* than or equal to this. */
Tcl_CmdObjTraceProc *proc; /* Procedure to call to trace command. */
[[ClientData]] clientData; /* Arbitrary value to pass to proc. */
struct Trace *nextPtr; /* Next in list of traces for this interp. */
int flags; /* Flags governing the trace - see
* Tcl_CreateObjTrace for details. */
Tcl_CmdObjTraceDeleteProc *delProc;
/* Procedure to call when trace is deleted. */
} Trace;
最終更新:2011年11月07日 19:14