Hyprland/src/defines.hpp

11 lines
272 B
C++
Raw Normal View History

2022-03-16 20:50:55 +01:00
#include "includes.hpp"
#ifndef NDEBUG
#define ISDEBUG true
#else
#define ISDEBUG false
#endif
2022-03-16 21:37:21 +01:00
#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); }
#define LISTENER(name) inline wl_listener listener_##name = {.notify = ##name};