Data structures in Gcc

Please expand the notes to include examples you find useful.

Vector

The file vec.h specifies the interface equivalent of a template class library for variable size vectors. For example

      list = VEC_alloc (data_struct*, heap, num_elements);
      VEC_quick_push (data_struct*, list, new_elem);
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2008-03-13 - ChenDing
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback