diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-11-26 12:47:08 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-11-26 13:03:39 +0000 |
commit | 58aa58f049e448684bfe870259ad4e96007b7c68 (patch) | |
tree | 10b389d8446f701ab0fe7f209fc46029e5c368d6 /gst/rtsp-server/rtsp-server.h | |
parent | bad6f5690a9924581e50edf5ac922ca87769d2bb (diff) |
rtsp-server: add missing GST_EXPORT and export deprecated funcs
Diffstat (limited to 'gst/rtsp-server/rtsp-server.h')
-rw-r--r-- | gst/rtsp-server/rtsp-server.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-server.h b/gst/rtsp-server/rtsp-server.h index a928cf5..0208d29 100644 --- a/gst/rtsp-server/rtsp-server.h +++ b/gst/rtsp-server/rtsp-server.h @@ -24,6 +24,15 @@ G_BEGIN_DECLS +/* Do *not* use these defines outside of rtsp-server. Use G_DEPRECATED instead. */ +#ifdef GST_DISABLE_DEPRECATED +#define GST_RTSP_SERVER_DEPRECATED GST_EXPORT +#define GST_RTSP_SERVER_DEPRECATED_FOR(f) GST_EXPORT +#else +#define GST_RTSP_SERVER_DEPRECATED G_DEPRECATED GST_EXPORT +#define GST_RTSP_SERVER_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_EXPORT +#endif + typedef struct _GstRTSPServer GstRTSPServer; typedef struct _GstRTSPServerClass GstRTSPServerClass; typedef struct _GstRTSPServerPrivate GstRTSPServerPrivate; |