diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-06 16:17:58 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-06 16:17:58 +0200 |
| commit | 0d7a8cca790e8fa71a83e4dce09fbe5a0af38cbc (patch) | |
| tree | 240dcca264ed34a76ca68ce07e8794f5380f3a14 /src/defines.hpp | |
| parent | 9655d0c13822bdaa5d86fd1153c27c184fd55253 (diff) | |
use C++ throw methods instead of printf and exit
Diffstat (limited to 'src/defines.hpp')
| -rw-r--r-- | src/defines.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/defines.hpp b/src/defines.hpp index 80750c23..375f0119 100644 --- a/src/defines.hpp +++ b/src/defines.hpp @@ -16,8 +16,6 @@ #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 DYNLISTENFUNC(name) void listener_##name(void*, void*); #define DYNLISTENER(name) CHyprWLListener hyprListener_##name; |
