summaryrefslogtreecommitdiff
path: root/gst/gstparse.h
diff options
context:
space:
mode:
authorErik Walthinsen <omega@temple-baptist.org>2001-10-20 23:12:36 +0000
committerErik Walthinsen <omega@temple-baptist.org>2001-10-20 23:12:36 +0000
commit7095ffbfabf148eaf320dd8f4201a1c9b13ccd8e (patch)
tree613c3a0d2e9331b83f94f8813237e408d59830a9 /gst/gstparse.h
parentd945cd38c888adf00472c02b00e30b08171a267b (diff)
downloadgstreamer-7095ffbfabf148eaf320dd8f4201a1c9b13ccd8e.tar.gz
made C++ friendly
Original commit message from CVS: made C++ friendly
Diffstat (limited to 'gst/gstparse.h')
-rw-r--r--gst/gstparse.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/gst/gstparse.h b/gst/gstparse.h
index 9374d25f58..fda38ae57c 100644
--- a/gst/gstparse.h
+++ b/gst/gstparse.h
@@ -23,10 +23,14 @@
#ifndef __GST_PARSE_H__
#define __GST_PARSE_H__
-#ifndef GST_DISABLE_PARSE
-
#include <gst/gstbin.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#ifndef GST_DISABLE_PARSE
+
gint gst_parse_launch (const gchar *cmdline, GstBin *parent);
#else // GST_DISABLE_PARSE
@@ -35,4 +39,8 @@ gint gst_parse_launch (const gchar *cmdline, GstBin *parent);
#endif // GST_DISABLE_PARSE
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __GST_PARSE_H__ */