mirror of
https://github.com/Trensa-Organization/Hyprland.git
synced 2025-03-16 03:03:40 +01:00
12 lines
No EOL
417 B
C++
12 lines
No EOL
417 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 };
|
|
#define DYNLISTENER(name) wl_listener listen_##name = { .notify = Events::listener_##name }; |