From 20d804cdb5b4874a0ee168cd8db67caf0c841772 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 4 Nov 2020 00:23:21 +0100 Subject: 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! --- include/bindings.h | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 include/bindings.h (limited to 'include/bindings.h') 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 - -/* - * 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 -- cgit v1.2.3