summaryrefslogtreecommitdiff
path: root/src/user/include/cxx/raleigh/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/cxx/raleigh/util.h')
-rw-r--r--src/user/include/cxx/raleigh/util.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/user/include/cxx/raleigh/util.h b/src/user/include/cxx/raleigh/util.h
index d2ed13d..9142b69 100644
--- a/src/user/include/cxx/raleigh/util.h
+++ b/src/user/include/cxx/raleigh/util.h
@@ -5,11 +5,15 @@
#define RGB(R, G, B) ((_pixel_t){.r = 0x##R, .g = 0x##G, .b = 0x##B})
-struct coord {
- uint32_t x;
- uint32_t y;
- coord(uint32_t x, uint32_t y);
- coord();
-};
+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 \ No newline at end of file