summaryrefslogtreecommitdiff
path: root/src/tests/ef_test.h
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-24 09:18:35 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-24 09:18:35 -0700
commit58008f4a5858e52351481aca33530201a66ffc84 (patch)
treef95668b0d9fcb2122c621b5aa606fc4d5788ab9e /src/tests/ef_test.h
downloadefreet-58008f4a5858e52351481aca33530201a66ffc84.tar.gz
efreet-58008f4a5858e52351481aca33530201a66ffc84.tar.bz2
efreet-58008f4a5858e52351481aca33530201a66ffc84.zip
Imported Upstream version 1.7.1upstream/1.7.1
Diffstat (limited to 'src/tests/ef_test.h')
-rw-r--r--src/tests/ef_test.h11
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