20 lines
215 B
C
20 lines
215 B
C
|
#ifndef __XDEMO_H
|
||
|
#define __XDEMO_H
|
||
|
|
||
|
#define DEBUG
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
#define dprint(x...) printf(x)
|
||
|
#else
|
||
|
#define dprint(x...)
|
||
|
#endif
|
||
|
|
||
|
struct pic_info
|
||
|
{
|
||
|
int width;
|
||
|
int height;
|
||
|
char *pixel_data;
|
||
|
};
|
||
|
|
||
|
#endif
|