add WL_EXPORT 04/278104/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 29 Jun 2022 01:32:38 +0000 (10:32 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:08:56 +0000 (14:08 +0900)
Change-Id: I88c4eecae13f1d260b060364cb71acd067db8116

src/backend.c
src/seat/seat_keyboard.c

index dee97ca..2cb5cbf 100644 (file)
@@ -48,7 +48,7 @@ ds_backend_add_new_input_listener(struct ds_backend *backend,
     wl_signal_add(&backend->events.new_input, listener);
 }
 
-void
+WL_EXPORT void
 ds_backend_init(struct ds_backend *backend,
         struct wl_display *display,
         const struct ds_backend_interface *iface)
@@ -60,7 +60,7 @@ ds_backend_init(struct ds_backend *backend,
     wl_signal_init(&backend->events.new_input);
 }
 
-void
+WL_EXPORT void
 ds_backend_finish(struct ds_backend *backend)
 {
     wl_signal_emit(&backend->events.destroy, backend);
index 6d6fed6..b022163 100644 (file)
@@ -76,7 +76,7 @@ ds_seat_keyboard_add_focus_change_listener(struct ds_seat *seat,
     wl_signal_add(&seat->keyboard.events.focus_change, listener);
 }
 
-void
+WL_EXPORT void
 ds_seat_keyboard_start_grab(struct ds_seat *seat,
         struct ds_seat_keyboard_grab *grab)
 {
@@ -86,7 +86,7 @@ ds_seat_keyboard_start_grab(struct ds_seat *seat,
     wl_signal_emit(&seat->events.keyboard_grab_begin, grab);
 }
 
-struct ds_seat_keyboard_grab *
+WL_EXPORT struct ds_seat_keyboard_grab *
 ds_seat_create_keyboard_grab(struct ds_seat *seat,
         const struct ds_keyboard_grab_interface *iface, void *data)
 {
@@ -105,19 +105,19 @@ ds_seat_create_keyboard_grab(struct ds_seat *seat,
     return grab;
 }
 
-void
+WL_EXPORT void
 ds_seat_keyboard_destroy_grab(struct ds_seat_keyboard_grab *grab)
 {
     free(grab);
 }
 
-void *
+WL_EXPORT void *
 ds_seat_keyboard_grab_get_data(struct ds_seat_keyboard_grab *grab)
 {
     return grab->data;
 }
 
-void
+WL_EXPORT void
 ds_seat_keyboard_end_grab(struct ds_seat *seat)
 {
     struct ds_seat_keyboard *keyboard = &seat->keyboard;