mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
added 'extern C' stuff to some headers
Original commit message from CVS: added 'extern C' stuff to some headers
This commit is contained in:
parent
302452bd46
commit
3cbe1bacd0
2 changed files with 15 additions and 0 deletions
|
@ -28,6 +28,10 @@
|
||||||
|
|
||||||
#include <gst/gstprops.h>
|
#include <gst/gstprops.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
typedef struct _GstCaps GstCaps;
|
typedef struct _GstCaps GstCaps;
|
||||||
|
|
||||||
extern GType _gst_caps_type;
|
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);
|
GstCaps* gst_caps_load_thyself (xmlNodePtr parent);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#endif /* __GST_CAPS_H__ */
|
#endif /* __GST_CAPS_H__ */
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
typedef struct _GstProps GstProps;
|
typedef struct _GstProps GstProps;
|
||||||
extern GType _gst_props_type;
|
extern GType _gst_props_type;
|
||||||
|
|
||||||
|
@ -131,5 +135,8 @@ GstProps* gst_props_load_thyself (xmlNodePtr parent);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#endif /* __GST_PROPS_H__ */
|
#endif /* __GST_PROPS_H__ */
|
||||||
|
|
Loading…
Reference in a new issue