summaryrefslogtreecommitdiff
path: root/gen_alloc.h
blob: b94a95642999b3ee0121dfbf4a2d3fc57b7b6857 (plain)
1
2
3
4
5
6
7
#ifndef GEN_ALLOC_H
#define GEN_ALLOC_H

#define GEN_ALLOC_typedef(ta,type,field,len,a) \
  typedef struct ta { type *field; unsigned int len; unsigned int a; } ta;

#endif