From c0c06159649082199c5df76648a2f37ac553700f Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 6 Aug 2024 22:48:16 +1000 Subject: [PATCH] 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: --- subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h index d3556400ab..6099ae6083 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/webrtc_fwd.h @@ -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 /**/ GST_WEBRTC_ERROR_TYPE_ERROR, } GstWebRTCError; +G_END_DECLS + #endif /* __GST_WEBRTC_FWD_H__ */