blob: a300d010cccd9d780c20440aee93013822245528 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <raleigh/util.h>
#include <knob/format.h>
#include <pland/pcrt.h>
namespace raleigh {
coord::coord(uint32_t x, uint32_t y)
: x(x), y(y) {}
coord::coord()
: x(0), y(0) {}
__attribute__ ((noreturn))
void show_error_and_quitf(const char *fmt, ...) {
va_list args;
va_start(args, fmt);
syslogf_v(fmt, args);
__pcrt_quit();
}
}
|