blob: 9142b692659a7617744bf64938775c9b6f29dacb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef RALEIGH_UTIL_H
#define RALEIGH_UTIL_H
#include <stdint.h>
#define RGB(R, G, B) ((_pixel_t){.r = 0x##R, .g = 0x##G, .b = 0x##B})
namespace raleigh {
struct coord {
uint32_t x;
uint32_t y;
coord(uint32_t x, uint32_t y);
coord();
};
void show_error_and_quitf(const char *fmt, ...) __attribute__ ((noreturn));
}
#endif
|