-/*
+/*
* efence.h
*/
#include <gst/gst.h>
-#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
/* #define's don't like whitespacey bits */
#define GST_TYPE_EFENCE \
(gst_gst_efence_get_type())
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
#define GST_IS_EFENCE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
+typedef struct _GstEFence GstEFence;
+typedef struct _GstEFenceClass GstEFenceClass;
- typedef struct _GstEFence GstEFence;
- typedef struct _GstEFenceClass GstEFenceClass;
-
- struct _GstEFence
- {
- GstElement element;
-
- GstPad *sinkpad, *srcpad;
+struct _GstEFence
+{
+ GstElement element;
- gboolean fence_top;
- };
+ GstPad *sinkpad, *srcpad;
- struct _GstEFenceClass
- {
- GstElementClass parent_class;
- };
+ gboolean fence_top;
+};
- GType gst_gst_efence_get_type (void);
+struct _GstEFenceClass
+{
+ GstElementClass parent_class;
+};
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+GType gst_gst_efence_get_type (void);
-#endif /* __GST_EFENCE_H__ */
+G_END_DECLS
+#endif /* __GST_EFENCE_H__ */