stack_str

Stack for strings
git clone git://www.tkruger.se/stack_str.git
Log | Files | Refs | README

README (355B)


      1 stack_str
      2 =========
      3 
      4 Small library for stacks of stringss. This stack is only capable of
      5 increasing it's allocated size, and never shrinking. The stack also
      6 contains char pointers. Make sure the strings are nice and
      7 null-terminated and with size implicitly known.
      8 
      9   typedef struct {
     10     size_t nmemb;
     11     size_t alloc;
     12   
     13     char **data;
     14   } stack_str;