labyrinth

view src/image.h @ 7:b557812c45db

generating the android (ant) project stuff from the makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 04 May 2015 02:46:35 +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_ */