diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-07-16 13:47:38 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-07-16 13:47:38 +0200 |
commit | 69a1aa93b81415a082dc4b5cecaad3d0dc0a97a6 (patch) | |
tree | 1faf77f269c5c43498b44309140a01de83cb0182 /src/common.h | |
parent | 0a25815768786155371db7154da84d9cdfc43b3f (diff) |
Basics of MAT exporting
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h new file mode 100644 index 0000000..7f1e41c --- /dev/null +++ b/src/common.h @@ -0,0 +1,9 @@ +#include <stdlib.h> +#include <inttypes.h> +#include <stdio.h> +#include <errno.h> +#include <uthash.h> +#include "eli.h" + +#define HASH_FOR(i, head, field) for ((i) = (head); (i); (i) = (i)->field.next) +#define errorf(fmt, ...) (fprintf(stderr, fmt, ##__VA_ARGS__)) |