home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 275 / DPCS0111DVD.ISO / Toolkit / Audio-Visual / VirtualDub / Source / VirtualDub-1.9.10-src.7z / src / Sylia / StringHeap.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-09-14  |  351 b   |  23 lines

  1. #ifndef f_SYLIA_STRINGHEAP_H
  2. #define f_SYLIA_STRINGHEAP_H
  3.  
  4. #include <list>
  5.  
  6. class VDScriptStringHeap {
  7. protected:
  8.     typedef std::list<char *> tStrings;
  9.     tStrings mStrings;
  10.  
  11. public:
  12.     VDScriptStringHeap();
  13.     ~VDScriptStringHeap();
  14.  
  15.     void Clear();
  16.     void BeginGC();
  17.     void Mark(char *s);
  18.     int EndGC();
  19.     char **Allocate(int);
  20. };
  21.  
  22. #endif
  23.