(file) Return to slp.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / slp / Attic

Diff for /pegasus/src/slp/Attic/slp.h between version 1.6 and 1.6.2.1

version 1.6, 2001/07/16 22:28:07 version 1.6.2.1, 2001/08/05 19:34:11
Line 96 
Line 96 
   // unlink this node from whichever list it is on   // unlink this node from whichever list it is on
   inline void unlink( void  ) { _prev->_next = _next; _next->_prev = _prev; }   inline void unlink( void  ) { _prev->_next = _next; _next->_prev = _prev; }
   // insert this node into list owned by head   // insert this node into list owned by head
   inline void insert(slp2_list & head) {  _prev = head;    inline void insert(slp2_list & head)
       {
         _prev = &head;
                       _next = head._next;                       _next = head._next;
                      head._next->_prev = this;                      head._next->_prev = this;
                      head._next = this;                      head._next = this;
                      head._count++; }        head._count++;
       }
 public: public:
   slp2_list(Boolean head = true) :  _rep(NULL), _isHead(head), _count(0) { _next = this; _prev = this; _cur = this;}   slp2_list(Boolean head = true) :  _rep(NULL), _isHead(head), _count(0) { _next = this; _prev = this; _cur = this;}
   ~slp2_list() { empty_list() ; }   ~slp2_list() { empty_list() ; }


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2