diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-11-04 00:23:21 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-13 22:53:33 +0100 |
| commit | 20d804cdb5b4874a0ee168cd8db67caf0c841772 (patch) | |
| tree | 18bf003b6d37480919bba7e1852e611c9fe8411c /include/bindings.c | |
| parent | 0c5e5a7b4a4cbd56ca797698feb7ac85b22db647 (diff) | |
| download | river-20d804cdb5b4874a0ee168cd8db67caf0c841772.tar.gz river-20d804cdb5b4874a0ee168cd8db67caf0c841772.tar.xz | |
code: switch to custom wlroots/libwayland bindings
This is a big step up over @cImport() for ergonomics and type safety.
Nearly all void pointer casts have been eliminated!
Diffstat (limited to 'include/bindings.c')
| -rw-r--r-- | include/bindings.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/bindings.c b/include/bindings.c deleted file mode 100644 index 8cf8651..0000000 --- a/include/bindings.c +++ /dev/null @@ -1,11 +0,0 @@ -#define WLR_USE_UNSTABLE -#include <wlr/backend.h> -#include <wlr/render/wlr_renderer.h> - -struct wlr_backend *river_wlr_backend_autocreate(struct wl_display *display) { - return wlr_backend_autocreate(display, NULL); -} - -struct wlr_renderer *river_wlr_backend_get_renderer(struct wlr_backend *backend) { - return wlr_backend_get_renderer(backend); -} |
