mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
ges: Add G_BEGIN_DECLS around all relevant declarations in headers
This commit is contained in:
parent
7d34e33ac4
commit
d57f796a14
5 changed files with 20 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <ges/ges-timeline.h>
|
#include <ges/ges-timeline.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GES_TYPE_FORMATTER ges_formatter_get_type()
|
#define GES_TYPE_FORMATTER ges_formatter_get_type()
|
||||||
|
|
||||||
#define GES_FORMATTER(obj) \
|
#define GES_FORMATTER(obj) \
|
||||||
|
@ -162,4 +164,6 @@ gboolean ges_formatter_save_to_uri (GESFormatter * formatter,
|
||||||
|
|
||||||
GESAsset *ges_formatter_get_default (void);
|
GESAsset *ges_formatter_get_default (void);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _GES_FORMATTER */
|
#endif /* _GES_FORMATTER */
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
#include "ges-asset.h"
|
#include "ges-asset.h"
|
||||||
#include "ges-base-xml-formatter.h"
|
#include "ges-base-xml-formatter.h"
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_EXTERN (_ges_debug);
|
GST_DEBUG_CATEGORY_EXTERN (_ges_debug);
|
||||||
#define GST_CAT_DEFAULT _ges_debug
|
#define GST_CAT_DEFAULT _ges_debug
|
||||||
|
|
||||||
|
@ -394,4 +396,6 @@ G_GNUC_INTERNAL gboolean ges_nle_composition_add_object (GstElement *comp, GstEl
|
||||||
G_GNUC_INTERNAL gboolean ges_nle_composition_remove_object (GstElement *comp, GstElement *object);
|
G_GNUC_INTERNAL gboolean ges_nle_composition_remove_object (GstElement *comp, GstElement *object);
|
||||||
G_GNUC_INTERNAL gboolean ges_nle_object_commit (GstElement * nlesource, gboolean recurse);
|
G_GNUC_INTERNAL gboolean ges_nle_object_commit (GstElement * nlesource, gboolean recurse);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GES_INTERNAL_H__ */
|
#endif /* __GES_INTERNAL_H__ */
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
#ifndef _GES_PITIVI_FORMATTER
|
#ifndef _GES_PITIVI_FORMATTER
|
||||||
#define _GES_PITIVI_FORMATTER
|
#define _GES_PITIVI_FORMATTER
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GES_TYPE_PITIVI_FORMATTER ges_pitivi_formatter_get_type()
|
#define GES_TYPE_PITIVI_FORMATTER ges_pitivi_formatter_get_type()
|
||||||
|
|
||||||
#define GES_PITIVI_FORMATTER(obj) \
|
#define GES_PITIVI_FORMATTER(obj) \
|
||||||
|
@ -68,4 +70,6 @@ struct _GESPitiviFormatterClass
|
||||||
GType ges_pitivi_formatter_get_type (void);
|
GType ges_pitivi_formatter_get_type (void);
|
||||||
GESPitiviFormatter *ges_pitivi_formatter_new (void);
|
GESPitiviFormatter *ges_pitivi_formatter_new (void);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _GES_PITIVI_FORMATTER */
|
#endif /* _GES_PITIVI_FORMATTER */
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <ges/ges.h>
|
#include <ges/ges.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef gboolean (*ActionFromStructureFunc) (GESTimeline * timeline,
|
typedef gboolean (*ActionFromStructureFunc) (GESTimeline * timeline,
|
||||||
GstStructure * structure,
|
GstStructure * structure,
|
||||||
GError ** error);
|
GError ** error);
|
||||||
|
@ -55,4 +57,6 @@ G_GNUC_INTERNAL GESLayer *
|
||||||
_ges_get_layer_by_priority (GESTimeline * timeline,
|
_ges_get_layer_by_priority (GESTimeline * timeline,
|
||||||
gint priority);
|
gint priority);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GES_STRUCTURED_INTERFACE__*/
|
#endif /* __GES_STRUCTURED_INTERFACE__*/
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
#ifndef __GES_TYPES_H__
|
#ifndef __GES_TYPES_H__
|
||||||
#define __GES_TYPES_H__
|
#define __GES_TYPES_H__
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* Padding */
|
/* Padding */
|
||||||
#define GES_PADDING 4
|
#define GES_PADDING 4
|
||||||
|
|
||||||
|
@ -179,4 +181,6 @@ typedef struct _GESVideoTrack GESVideoTrack;
|
||||||
typedef struct _GESAudioTrackClass GESAudioTrackClass;
|
typedef struct _GESAudioTrackClass GESAudioTrackClass;
|
||||||
typedef struct _GESAudioTrack GESAudioTrack;
|
typedef struct _GESAudioTrack GESAudioTrack;
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GES_TYPES_H__ */
|
#endif /* __GES_TYPES_H__ */
|
||||||
|
|
Loading…
Reference in a new issue