From 3cbe1bacd03f0356ac038e5bc9bb603666ae07d3 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 6 Apr 2002 18:59:39 +0000 Subject: [PATCH] added 'extern C' stuff to some headers Original commit message from CVS: added 'extern C' stuff to some headers --- gst/gstcaps.h | 8 ++++++++ gst/gstprops.h | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/gst/gstcaps.h b/gst/gstcaps.h index 01d5d6aab5..673741c0a9 100644 --- a/gst/gstcaps.h +++ b/gst/gstcaps.h @@ -28,6 +28,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef struct _GstCaps GstCaps; extern GType _gst_caps_type; @@ -131,4 +135,8 @@ xmlNodePtr gst_caps_save_thyself (GstCaps *caps, xmlNodePtr parent); GstCaps* gst_caps_load_thyself (xmlNodePtr parent); #endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __GST_CAPS_H__ */ diff --git a/gst/gstprops.h b/gst/gstprops.h index 7a10779065..0f6b8d42d5 100644 --- a/gst/gstprops.h +++ b/gst/gstprops.h @@ -28,6 +28,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef struct _GstProps GstProps; extern GType _gst_props_type; @@ -131,5 +135,8 @@ GstProps* gst_props_load_thyself (xmlNodePtr parent); #endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* __GST_PROPS_H__ */