Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

void tmVector::Clear (  ) 

Does not call delete on the elements since we have no idea how to reclaim the memory. Sets all array slots to 0.

Definition at line 125 of file tmVector.cpp.

Referenced by tmQueue::FlushQueue().

  memset(mElements, 0, mCapacity);
  mCount = 0;
  mNext = 0;

Generated by  Doxygen 1.6.0   Back to index