summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-13 13:09:28 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-13 13:36:33 +0000
commitbdbe83a88e923f4d1233a6298c588a8b77b625bc (patch)
treea9973ff6dc082216962b40834940b5b2997a9d9a
parent46a6d3f8991cdb532fe0d5037e6b8fbb8c8c917a (diff)
wayland: GST_EXPORT -> GST_WAYLAND_API
We need different export decorators for the different libs. For now no actual change though, just rename before the release, and add prelude headers to define the new decorator to GST_EXPORT.
-rw-r--r--gst-libs/gst/wayland/wayland.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/gst-libs/gst/wayland/wayland.h b/gst-libs/gst/wayland/wayland.h
index 12e2c1fd1..5cc0e5f74 100644
--- a/gst-libs/gst/wayland/wayland.h
+++ b/gst-libs/gst/wayland/wayland.h
@@ -29,20 +29,24 @@
#include <gst/gst.h>
#include <wayland-client.h>
+#ifndef GST_WAYLAND_API
+#define GST_WAYLAND_API GST_EXPORT
+#endif
+
G_BEGIN_DECLS
/* The type of GstContext used to pass the wl_display pointer
* from the application to the sink */
#define GST_WAYLAND_DISPLAY_HANDLE_CONTEXT_TYPE "GstWaylandDisplayHandleContextType"
-GST_EXPORT
+GST_WAYLAND_API
gboolean gst_is_wayland_display_handle_need_context_message (GstMessage * msg);
-GST_EXPORT
+GST_WAYLAND_API
GstContext *
gst_wayland_display_handle_context_new (struct wl_display * display);
-GST_EXPORT
+GST_WAYLAND_API
struct wl_display *
gst_wayland_display_handle_context_get_handle (GstContext * context);
@@ -79,14 +83,14 @@ struct _GstWaylandVideoInterface {
void (*end_geometry_change) (GstWaylandVideo *video);
};
-GST_EXPORT
+GST_WAYLAND_API
GType gst_wayland_video_get_type (void);
/* virtual function wrappers */
-GST_EXPORT
+GST_WAYLAND_API
void gst_wayland_video_begin_geometry_change (GstWaylandVideo * video);
-GST_EXPORT
+GST_WAYLAND_API
void gst_wayland_video_end_geometry_change (GstWaylandVideo * video);
G_END_DECLS