aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/interface.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-13 09:59:14 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-13 10:19:57 -0400
commit43868168897f628fe75157be9ab38ea63310c920 (patch)
tree4abf844a207744843a95abfe07e5e1fe8b8bdc03 /include/wlr/backend/interface.h
parent43fb40e949c6b0a7492935d358695fdc6ad593a9 (diff)
wlr_backend_init -> wlr_backend_start
Also renames create to init. We'll use create for anything that allocates and init for anything that takes a pointer and initializes it.
Diffstat (limited to 'include/wlr/backend/interface.h')
-rw-r--r--include/wlr/backend/interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h
index adca23eb..b0814da5 100644
--- a/include/wlr/backend/interface.h
+++ b/include/wlr/backend/interface.h
@@ -6,12 +6,12 @@
#include <wlr/egl.h>
struct wlr_backend_impl {
- bool (*init)(struct wlr_backend *backend);
+ bool (*start)(struct wlr_backend *backend);
void (*destroy)(struct wlr_backend *backend);
struct wlr_egl *(*get_egl)(struct wlr_backend *backend);
};
-void wlr_backend_create(struct wlr_backend *backend,
+void wlr_backend_init(struct wlr_backend *backend,
const struct wlr_backend_impl *impl);
#endif