mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
webrtc: Add missing G_BEGIN/END_DECLS in header
Fix using webrtc.h from C++ by adding the GLib begin/end decls markers around the header contents in webrtc_fwd.h Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7312>
This commit is contained in:
parent
724c443a65
commit
c0c0615964
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
||||||
* @title: GstWebRTC Enumerations
|
* @title: GstWebRTC Enumerations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifndef GST_WEBRTC_API
|
#ifndef GST_WEBRTC_API
|
||||||
# ifdef BUILDING_GST_WEBRTC
|
# ifdef BUILDING_GST_WEBRTC
|
||||||
# define GST_WEBRTC_API GST_API_EXPORT /* from config.h */
|
# define GST_WEBRTC_API GST_API_EXPORT /* from config.h */
|
||||||
|
@ -516,4 +518,6 @@ typedef enum /*<underscore_name=gst_webrtc_error>*/
|
||||||
GST_WEBRTC_ERROR_TYPE_ERROR,
|
GST_WEBRTC_ERROR_TYPE_ERROR,
|
||||||
} GstWebRTCError;
|
} GstWebRTCError;
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_WEBRTC_FWD_H__ */
|
#endif /* __GST_WEBRTC_FWD_H__ */
|
||||||
|
|
Loading…
Reference in a new issue