diff options
| author | Marten Ringwelski <git@maringuu.de> | 2020-10-30 13:36:34 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-10-30 15:23:52 +0100 |
| commit | 1bd6f6bed19a70a3b02efc5cf73860b7f86a4fe9 (patch) | |
| tree | 7d9a638bc96f805df2b3392e32e7bde4beab6150 /include/bindings.h | |
| parent | 9a2e11620c4a50e0e5c9584f7e1d2dc15858cbb1 (diff) | |
| download | river-1bd6f6bed19a70a3b02efc5cf73860b7f86a4fe9.tar.gz river-1bd6f6bed19a70a3b02efc5cf73860b7f86a4fe9.tar.xz | |
code: Remove most of the hack around @cImport and flexible arrays
Diffstat (limited to 'include/bindings.h')
| -rw-r--r-- | include/bindings.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/bindings.h b/include/bindings.h index 9643836..ce8da0b 100644 --- a/include/bindings.h +++ b/include/bindings.h @@ -8,29 +8,7 @@ * See https://github.com/ziglang/zig/issues/4775 */ -struct wlr_backend_impl; - -struct wlr_backend { - const struct wlr_backend_impl *impl; - - struct { - /** Raised when destroyed, passed the wlr_backend reference */ - struct wl_signal destroy; - /** Raised when new inputs are added, passed the wlr_input_device */ - struct wl_signal new_input; - /** Raised when new outputs are added, passed the wlr_output */ - struct wl_signal new_output; - } events; -}; - struct wlr_backend *river_wlr_backend_autocreate(struct wl_display *display); struct wlr_renderer *river_wlr_backend_get_renderer(struct wlr_backend *backend); -bool river_wlr_backend_start(struct wlr_backend *backend); -bool river_wlr_backend_is_multi(struct wlr_backend *backend); -struct wlr_session *river_wlr_backend_get_session(struct wlr_backend *backend); -struct wlr_backend *river_wlr_noop_backend_create(struct wl_display *display); -struct wlr_output *river_wlr_noop_add_output(struct wlr_backend *backend); -bool river_wlr_output_is_noop(struct wlr_output *output); -void river_wlr_backend_destory(struct wlr_backend *backend); #endif // RIVER_BINDINGS_H |
