From 0d7a8cca790e8fa71a83e4dce09fbe5a0af38cbc Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 6 Jul 2022 16:17:58 +0200 Subject: use C++ throw methods instead of printf and exit --- src/defines.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/defines.hpp') 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; -- cgit v1.2.3