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