aboutsummaryrefslogtreecommitdiff
path: root/include/bindings.h
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-11-04 00:23:21 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2020-12-13 22:53:33 +0100
commit20d804cdb5b4874a0ee168cd8db67caf0c841772 (patch)
tree18bf003b6d37480919bba7e1852e611c9fe8411c /include/bindings.h
parent0c5e5a7b4a4cbd56ca797698feb7ac85b22db647 (diff)
downloadriver-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.h')
-rw-r--r--include/bindings.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/bindings.h b/include/bindings.h
deleted file mode 100644
index ce8da0b..0000000
--- a/include/bindings.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef RIVER_BINDINGS_H
-#define RIVER_BINDINGS_H
-
-#include <wlr/backend/session.h>
-
-/*
- * This header is needed since zig cannot yet translate flexible arrays.
- * See https://github.com/ziglang/zig/issues/4775
- */
-
-struct wlr_backend *river_wlr_backend_autocreate(struct wl_display *display);
-struct wlr_renderer *river_wlr_backend_get_renderer(struct wlr_backend *backend);
-
-#endif // RIVER_BINDINGS_H