stack_u64

Stack for uin64_t's
git clone git://www.tkruger.se/stack_u64.git
Log | Files | Refs | README

README (379B)


      1 stack_u64
      2 =========
      3 
      4 Small library for stacks of uint64_t's. This stack is only capable of
      5 increasing it's allocated size, and never shrinking. Do not use it if
      6 shrinking is neccessary.
      7 
      8   typedef struct {
      9     size_t nmemb;  // number of entries in stack
     10     size_t alloc;  // number of entries currently allocated for
     11   
     12     uint64_t *data; // array of entries
     13   } stack_u64_t;