some basic startup code

This commit is contained in:
vaxerski
2022-03-16 21:37:21 +01:00
parent de4c836e97
commit ffd309ca2a
6 changed files with 195 additions and 3 deletions

View File

@@ -6,4 +6,6 @@
#define ISDEBUG false
#endif
#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); }
#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); }
#define LISTENER(name) inline wl_listener listener_##name = {.notify = ##name};