From: Sebastian Dröge Date: Mon, 25 Apr 2016 12:11:00 +0000 (+0300) Subject: ges: Add G_BEGIN_DECLS around all relevant declarations in headers X-Git-Tag: 1.19.3~493^2~1024 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d57f796a146bcfee2888646f849897b5789a42da;p=platform%2Fupstream%2Fgstreamer.git ges: Add G_BEGIN_DECLS around all relevant declarations in headers --- diff --git a/ges/ges-formatter.h b/ges/ges-formatter.h index 1834884..4405638 100644 --- a/ges/ges-formatter.h +++ b/ges/ges-formatter.h @@ -24,6 +24,8 @@ #include #include +G_BEGIN_DECLS + #define GES_TYPE_FORMATTER ges_formatter_get_type() #define GES_FORMATTER(obj) \ @@ -162,4 +164,6 @@ gboolean ges_formatter_save_to_uri (GESFormatter * formatter, GESAsset *ges_formatter_get_default (void); +G_END_DECLS + #endif /* _GES_FORMATTER */ diff --git a/ges/ges-internal.h b/ges/ges-internal.h index 37f29aa..d8c4966 100644 --- a/ges/ges-internal.h +++ b/ges/ges-internal.h @@ -31,6 +31,8 @@ #include "ges-asset.h" #include "ges-base-xml-formatter.h" +G_BEGIN_DECLS + GST_DEBUG_CATEGORY_EXTERN (_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_object_commit (GstElement * nlesource, gboolean recurse); +G_END_DECLS + #endif /* __GES_INTERNAL_H__ */ diff --git a/ges/ges-pitivi-formatter.h b/ges/ges-pitivi-formatter.h index 1a76444..5210f7a 100644 --- a/ges/ges-pitivi-formatter.h +++ b/ges/ges-pitivi-formatter.h @@ -20,6 +20,8 @@ #ifndef _GES_PITIVI_FORMATTER #define _GES_PITIVI_FORMATTER +G_BEGIN_DECLS + #define GES_TYPE_PITIVI_FORMATTER ges_pitivi_formatter_get_type() #define GES_PITIVI_FORMATTER(obj) \ @@ -68,4 +70,6 @@ struct _GESPitiviFormatterClass GType ges_pitivi_formatter_get_type (void); GESPitiviFormatter *ges_pitivi_formatter_new (void); +G_END_DECLS + #endif /* _GES_PITIVI_FORMATTER */ diff --git a/ges/ges-structured-interface.h b/ges/ges-structured-interface.h index c25f972..6963bc2 100644 --- a/ges/ges-structured-interface.h +++ b/ges/ges-structured-interface.h @@ -23,6 +23,8 @@ #include +G_BEGIN_DECLS + typedef gboolean (*ActionFromStructureFunc) (GESTimeline * timeline, GstStructure * structure, GError ** error); @@ -55,4 +57,6 @@ G_GNUC_INTERNAL GESLayer * _ges_get_layer_by_priority (GESTimeline * timeline, gint priority); +G_END_DECLS + #endif /* __GES_STRUCTURED_INTERFACE__*/ diff --git a/ges/ges-types.h b/ges/ges-types.h index 1d58410..6a8699e 100644 --- a/ges/ges-types.h +++ b/ges/ges-types.h @@ -21,6 +21,8 @@ #ifndef __GES_TYPES_H__ #define __GES_TYPES_H__ +G_BEGIN_DECLS + /* Padding */ #define GES_PADDING 4 @@ -179,4 +181,6 @@ typedef struct _GESVideoTrack GESVideoTrack; typedef struct _GESAudioTrackClass GESAudioTrackClass; typedef struct _GESAudioTrack GESAudioTrack; +G_END_DECLS + #endif /* __GES_TYPES_H__ */