aboutsummaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
new file mode 100644
index 0000000..8c35b6a
--- /dev/null
+++ b/src/common.h
@@ -0,0 +1,8 @@
+#ifndef __COMMON__
+#define __COMMON__
+#include <stdint.h>
+typedef struct Image {
+ uint8_t *data;
+ int32_t width, height, pixel_bits;
+} Image;
+#endif
Feel free to download, copy and edit any repo