FACT++  1.0
DLLItem* DLList::removeHead ( )
inline

Definition at line 80 of file dllist.hxx.

References DLLItem::next.

81  {
82  DLLItem *item;
83  DISABLE_AST
84  item = head->next;
85  if(item == head)
86  {
87  ENABLE_AST
88  return((DLLItem *)0);
89  }
90  remove(item);
91  ENABLE_AST
92  return(item);
93  }
Definition: did.h:42
DLLItem * next
Definition: dllist.hxx:6
DLLItem * head
Definition: dllist.hxx:16