labyrinth

view src/image.h @ 8:d3f1f74067b0

ops, forgot to swapbuffers on the android side
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 04 May 2015 04:56:44 +0300
parents
children
line source
1 #ifndef IMAGE_H_
2 #define IMAGE_H_
4 struct image {
5 int width, height;
6 unsigned char *pixels;
7 };
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 struct image *load_image(const char *fname);
14 void free_image(struct image *img);
16 #ifdef __cplusplus
17 }
18 #endif
20 #endif /* IMAGE_H_ */