diff options
Diffstat (limited to 'src/tests/ef_test.h')
-rw-r--r-- | src/tests/ef_test.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tests/ef_test.h b/src/tests/ef_test.h new file mode 100644 index 0000000..2e88c68 --- /dev/null +++ b/src/tests/ef_test.h @@ -0,0 +1,11 @@ +#ifndef EF_TEST +#define EF_TEST + +#include "config.h" + +#include <eina_types.h> + +#define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0); +#define NEW(x, c) calloc(c, sizeof(x)) + +#endif |