labyrinth

annotate 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
rev   line source
nuclear@0 1 #ifndef IMAGE_H_
nuclear@0 2 #define IMAGE_H_
nuclear@0 3
nuclear@0 4 struct image {
nuclear@0 5 int width, height;
nuclear@0 6 unsigned char *pixels;
nuclear@0 7 };
nuclear@0 8
nuclear@0 9 #ifdef __cplusplus
nuclear@0 10 extern "C" {
nuclear@0 11 #endif
nuclear@0 12
nuclear@0 13 struct image *load_image(const char *fname);
nuclear@0 14 void free_image(struct image *img);
nuclear@0 15
nuclear@0 16 #ifdef __cplusplus
nuclear@0 17 }
nuclear@0 18 #endif
nuclear@0 19
nuclear@0 20 #endif /* IMAGE_H_ */