mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +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/7313>
This commit is contained in:
parent
14e3be6a26
commit
a592bf28b0
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
|||
* @title: GstWebRTC Enumerations
|
||||
*/
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#ifndef GST_WEBRTC_API
|
||||
# ifdef BUILDING_GST_WEBRTC
|
||||
# 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,
|
||||
} GstWebRTCError;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_WEBRTC_FWD_H__ */
|
||||
|
|
Loading…
Reference in a new issue