diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-17 15:53:45 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-17 16:19:10 +0100 |
| commit | cf51ab71a25cbb60ebcf13edd4b7413c23264128 (patch) | |
| tree | 18b649470346c8815a156b5599ee7be1c4135a79 /src/defines.hpp | |
| parent | 52090853dafb75dd99969a0cecdd291c109210f8 (diff) | |
input basics
Diffstat (limited to 'src/defines.hpp')
| -rw-r--r-- | src/defines.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defines.hpp b/src/defines.hpp index ecf90ae8..33019666 100644 --- a/src/defines.hpp +++ b/src/defines.hpp @@ -8,4 +8,4 @@ #define RIP(format, ... ) { fprintf(stderr, format "\n", ##__VA_ARGS__); exit(EXIT_FAILURE); } -#define LISTENER(name) inline wl_listener listener_##name = {.notify = ##name};
\ No newline at end of file +#define LISTENER(name) void listener_##name(wl_listener*, void*); inline wl_listener listen_##name = { .notify = listener_##name };
\ No newline at end of file |
