summaryrefslogtreecommitdiff
path: root/gen_alloc.h
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2015-05-08 23:07:47 -0400
committerjoe <joe@jerkface.net>2015-05-08 23:07:47 -0400
commit220534453eecc2c07ad710d72268aafd20b83138 (patch)
tree469bd5db135e31b7ea908152aa3389b9b1e06d5b /gen_alloc.h
initial commit
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