diff options
Diffstat (limited to 'gen_alloc.h')
| -rw-r--r-- | gen_alloc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gen_alloc.h b/gen_alloc.h new file mode 100644 index 0000000..b94a956 --- /dev/null +++ b/gen_alloc.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #ifndef GEN_ALLOC_H | ||
| 2 | #define GEN_ALLOC_H | ||
| 3 | |||
| 4 | #define GEN_ALLOC_typedef(ta,type,field,len,a) \ | ||
| 5 | typedef struct ta { type *field; unsigned int len; unsigned int a; } ta; | ||
| 6 | |||
| 7 | #endif | ||
