From ffd309ca2adc313f2aaaea08b4cac9553982b48c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:37:21 +0100 Subject: some basic startup code --- src/defines.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/defines.hpp') diff --git a/src/defines.hpp b/src/defines.hpp index f72dbb18..ecf90ae8 100644 --- a/src/defines.hpp +++ b/src/defines.hpp @@ -6,4 +6,6 @@ #define ISDEBUG false #endif -#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); } \ No newline at end of file +#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); } + +#define LISTENER(name) inline wl_listener listener_##name = {.notify = ##name}; \ No newline at end of file -- cgit v1.2.3