mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-17 00:38:22 +00:00
11 lines
324 B
C++
11 lines
324 B
C++
#include "includes.hpp"
|
|
|
|
#ifndef NDEBUG
|
|
#define ISDEBUG true
|
|
#else
|
|
#define ISDEBUG false
|
|
#endif
|
|
|
|
#define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); }
|
|
|
|
#define LISTENER(name) void listener_##name(wl_listener*, void*); inline wl_listener listen_##name = { .notify = listener_##name }; |