nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

typealloc.h (236B)


      1 #ifndef TypeAlloc_H // this will be fine though it's nonstandard
      2 #define TypeAlloc_H
      3 
      4 #define TypeAlloc_typedef(ta,type,field,len,a) \
      5   typedef struct ta { type *field; size_t len; size_t a; } ta;
      6 
      7 #define TA_ZERO	{NULL, 0, 0}
      8 
      9 #endif