labyrinth
view src/image.h @ 1:d46f0947a96d
added helpful comment
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 06 Feb 2015 00:34:04 +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_ */