legacy-imlib2/test/test.h

17 lines
363 B
C
Raw Normal View History

2022-02-06 03:34:47 -08:00
#ifndef TEST_H
#define TEST_H 1
#define IMG_SRC SRC_DIR "/images"
#define IMG_GEN BLD_DIR "/generated"
2023-01-22 02:48:16 -08:00
#define D(...) do{ if (debug) printf(__VA_ARGS__); }while(0)
#define D2(...) do{ if (debug > 1) printf(__VA_ARGS__); }while(0)
#include <Imlib2.h>
2022-02-06 03:34:47 -08:00
extern int debug;
2023-01-22 02:48:16 -08:00
unsigned int image_get_crc32(Imlib_Image im);
2022-02-06 03:34:47 -08:00
#endif /* TEST_H */