labyrinth

view src/image.h @ 0:8ba79034e8a6

labyrinth example initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 15 Jan 2015 14:59:38 +0200
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_ */