added 'extern C' stuff to some headers

Original commit message from CVS:
added 'extern C' stuff to some headers
This commit is contained in:
Benjamin Otte 2002-04-06 18:59:39 +00:00
parent 302452bd46
commit 3cbe1bacd0
2 changed files with 15 additions and 0 deletions

View file

@ -28,6 +28,10 @@
#include <gst/gstprops.h>
#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__ */

View file

@ -28,6 +28,10 @@
#include <glib-object.h>
#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__ */