aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
committerScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
commit86269052eb7be715eba274dffc30c77c11b8309c (patch)
tree8291d0ee15c75499ad884f629fd630c54f46b8ce /backend/multi
parentf27c0b44b882f7a837906e5b3376ad035cb51445 (diff)
Explicitly export EFL symbols
Diffstat (limited to 'backend/multi')
-rw-r--r--backend/multi/backend.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index 5cb3fbc5..a1ff288b 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -6,6 +6,7 @@
#include <wlr/util/log.h>
#include "backend/drm/drm.h"
#include "backend/multi.h"
+#include "util/defs.h"
#include "util/signal.h"
struct subbackend_state {
@@ -90,6 +91,7 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) {
multi_backend_destroy((struct wlr_backend*)backend);
}
+WLR_API
struct wlr_backend *wlr_multi_backend_create(struct wl_display *display) {
struct wlr_multi_backend *backend =
calloc(1, sizeof(struct wlr_multi_backend));
@@ -110,6 +112,7 @@ struct wlr_backend *wlr_multi_backend_create(struct wl_display *display) {
return &backend->backend;
}
+WLR_API
bool wlr_backend_is_multi(struct wlr_backend *b) {
return b->impl == &backend_impl;
}
@@ -143,6 +146,7 @@ static struct subbackend_state *multi_backend_get_subbackend(struct wlr_multi_ba
return NULL;
}
+WLR_API
void wlr_multi_backend_add(struct wlr_backend *_multi,
struct wlr_backend *backend) {
assert(wlr_backend_is_multi(_multi));
@@ -175,6 +179,7 @@ void wlr_multi_backend_add(struct wlr_backend *_multi,
wlr_signal_emit_safe(&multi->events.backend_add, backend);
}
+WLR_API
void wlr_multi_backend_remove(struct wlr_backend *_multi,
struct wlr_backend *backend) {
assert(wlr_backend_is_multi(_multi));
@@ -189,6 +194,7 @@ void wlr_multi_backend_remove(struct wlr_backend *_multi,
}
}
+WLR_API
struct wlr_session *wlr_multi_get_session(struct wlr_backend *_backend) {
assert(wlr_backend_is_multi(_backend));
@@ -202,6 +208,7 @@ struct wlr_session *wlr_multi_get_session(struct wlr_backend *_backend) {
return NULL;
}
+WLR_API
bool wlr_multi_is_empty(struct wlr_backend *_backend) {
assert(wlr_backend_is_multi(_backend));
struct wlr_multi_backend *backend = (struct wlr_multi_backend *)_backend;