debugutils: Use G_BEGIN_DECLS/G_END_DECLS.
Use G_BEGIN_DECLS/G_END_DECLS to avoid gst-indent messing up the indentation due to extern "C" { }.
This commit is contained in:
parent
7be792fa13
commit
af7f3a50dd
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* efence.h
|
* efence.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -7,11 +7,7 @@
|
|||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
G_BEGIN_DECLS
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
/* #define's don't like whitespacey bits */
|
/* #define's don't like whitespacey bits */
|
||||||
#define GST_TYPE_EFENCE \
|
#define GST_TYPE_EFENCE \
|
||||||
(gst_gst_efence_get_type())
|
(gst_gst_efence_get_type())
|
||||||
@ -23,28 +19,24 @@ extern "C"
|
|||||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
|
||||||
#define GST_IS_EFENCE_CLASS(klass) \
|
#define GST_IS_EFENCE_CLASS(klass) \
|
||||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
|
||||||
|
typedef struct _GstEFence GstEFence;
|
||||||
|
typedef struct _GstEFenceClass GstEFenceClass;
|
||||||
|
|
||||||
typedef struct _GstEFence GstEFence;
|
struct _GstEFence
|
||||||
typedef struct _GstEFenceClass GstEFenceClass;
|
{
|
||||||
|
GstElement element;
|
||||||
|
|
||||||
struct _GstEFence
|
GstPad *sinkpad, *srcpad;
|
||||||
{
|
|
||||||
GstElement element;
|
|
||||||
|
|
||||||
GstPad *sinkpad, *srcpad;
|
gboolean fence_top;
|
||||||
|
};
|
||||||
|
|
||||||
gboolean fence_top;
|
struct _GstEFenceClass
|
||||||
};
|
{
|
||||||
|
GstElementClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
struct _GstEFenceClass
|
GType gst_gst_efence_get_type (void);
|
||||||
{
|
|
||||||
GstElementClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gst_gst_efence_get_type (void);
|
G_END_DECLS
|
||||||
|
#endif /* __GST_EFENCE_H__ */
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
#endif /* __GST_EFENCE_H__ */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user