From 7095ffbfabf148eaf320dd8f4201a1c9b13ccd8e Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Sat, 20 Oct 2001 23:12:36 +0000 Subject: [PATCH] made C++ friendly Original commit message from CVS: made C++ friendly --- gst/gstparse.h | 12 ++++++++++-- 1 file 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 +#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__ */