summaryrefslogtreecommitdiffstats
path: root/tests/xdemo/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xdemo/common.h')
-rw-r--r--tests/xdemo/common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/xdemo/common.h b/tests/xdemo/common.h
new file mode 100644
index 00000000..2ce75bba
--- /dev/null
+++ b/tests/xdemo/common.h
@@ -0,0 +1,19 @@
+#ifndef __XDEMO_H
+#define __XDEMO_H
+
+#define DEBUG
+
+#ifdef DEBUG
+#define dprint(x...) printf(x)
+#else
+#define dprint(x...)
+#endif
+
+struct pic_info
+{
+ int width;
+ int height;
+ char *pixel_data;
+};
+
+#endif