input basics

This commit is contained in:
vaxerski
2022-03-17 15:53:45 +01:00
parent 52090853da
commit cf51ab71a2
17 changed files with 459 additions and 19 deletions

View File

@@ -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};
#define LISTENER(name) void listener_##name(wl_listener*, void*); inline wl_listener listen_##name = { .notify = listener_##name };