概要
リテラルエントリー
メンバー
- struct LiteralEntry *nextPtr; 次の LiteralEntry へのポインタ
- Tcl_Obj *objPtr;
- int refCount;
- Namespace *nsPtr; リテラルが使われている名前空間。
ソース
typedef struct LiteralEntry {
struct LiteralEntry *nextPtr;
/* Points to next entry in this hash bucket or
* NULL if end of chain. */
[[Tcl_Obj]] *objPtr; /* Points to Tcl object that holds the
* literal's bytes and length. */
int refCount; /* If in an interpreter's global literal
* table, the number of ByteCode structures
* that share the literal object; the literal
* entry can be freed when refCount drops to
* 0. If in a local literal table, -1. */
[[Namespace]] *nsPtr; /* Namespace in which this literal is used. We
* try to avoid sharing literal non-FQ command
* names among different namespaces to reduce
* shimmering. */
} LiteralEntry;
最終更新:2011年11月04日 15:42