Commit 31efa367 authored by David I. Lehn's avatar David I. Lehn
Browse files

use G_{BEGIN,END}_DECLS

Original commit message from CVS:
use G_{BEGIN,END}_DECLS
parent 0933f2df
...@@ -26,10 +26,7 @@ ...@@ -26,10 +26,7 @@
#include <gst/gst.h> #include <gst/gst.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
extern GstElementDetails gst_tee_details; extern GstElementDetails gst_tee_details;
...@@ -64,9 +61,6 @@ GType gst_tee_get_type (void); ...@@ -64,9 +61,6 @@ GType gst_tee_get_type (void);
gboolean gst_tee_factory_init (GstElementFactory *factory); gboolean gst_tee_factory_init (GstElementFactory *factory);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GST_TEE_H__ */ #endif /* __GST_TEE_H__ */
...@@ -45,10 +45,7 @@ ...@@ -45,10 +45,7 @@
#include <asm/atomic.h> #include <asm/atomic.h>
#endif #endif
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
extern GType _gst_buffer_type; extern GType _gst_buffer_type;
...@@ -162,9 +159,6 @@ GstBuffer* gst_buffer_append (GstBuffer *buf, GstBuffer *buf2); ...@@ -162,9 +159,6 @@ GstBuffer* gst_buffer_append (GstBuffer *buf, GstBuffer *buf2);
gboolean gst_buffer_is_span_fast (GstBuffer *buf1, GstBuffer *buf2); gboolean gst_buffer_is_span_fast (GstBuffer *buf1, GstBuffer *buf2);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GST_BUFFER_H__ */ #endif /* __GST_BUFFER_H__ */
...@@ -23,10 +23,7 @@ ...@@ -23,10 +23,7 @@
#include <gst/gst.h> #include <gst/gst.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
/* This is the definition of the element's object structure. */ /* This is the definition of the element's object structure. */
typedef struct _GstExample GstExample; typedef struct _GstExample GstExample;
...@@ -85,10 +82,6 @@ struct _GstExampleClass { ...@@ -85,10 +82,6 @@ struct _GstExampleClass {
*/ */
GType gst_example_get_type(void); GType gst_example_get_type(void);
G_END_DECLS
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GST_EXAMPLE_H__ */ #endif /* __GST_EXAMPLE_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment