#ifndef RALEIGH_UTIL_H #define RALEIGH_UTIL_H #include #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