made C++ friendly

Original commit message from CVS:
made C++ friendly
This commit is contained in:
Erik Walthinsen 2001-10-20 23:12:36 +00:00
parent d945cd38c8
commit 7095ffbfab

View file

@ -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__ */