アットウィキロゴ

NamespacePathEntry

概要

コマンド解決用のパス
tcl/generic/tclInt.h

メンバー

  • Namespace *nsPtr; path entry がどこをポイントしているか? NULLの時は、このパスは冗長なのでスキップされる。
  • Namespace *creatorNsPtr; path entryがどこからポイントされているか
  • NamespacePathEntry *prevPtr, *nextPtr; リンクドリスト

ソース

 /*
  * An entry on a namespace's command resolution path.
  */
 
 struct NamespacePathEntry {
     [[Namespace]] *nsPtr;		/* What does this path entry point to? If it
 				 * is NULL, this path entry points is
 				 * redundant and should be skipped. */
     Namespace *creatorNsPtr;	/* Where does this path entry point from? This
 				 * allows for efficient invalidation of
 				 * references when the path entry's target
 				 * updates its current list of defined
 				 * commands. */
     NamespacePathEntry *prevPtr, *nextPtr;
 				/* Linked list pointers or NULL at either end
 				 * of the list that hangs off Namespace's
 				 * commandPathSourceList field. */
 };
最終更新:2011年11月02日 16:35