From fd81083071039711047f71f32f67247c664b07ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 25 Jun 2015 10:24:13 +0200 Subject: [PATCH] nle: Hide away symbols, they're supposed to be internal --- configure.ac | 2 +- ges/nle/nlecomposition.h | 2 +- ges/nle/nleghostpad.h | 12 ++++++------ ges/nle/nleobject.h | 18 +++++++++--------- ges/nle/nleoperation.h | 10 +++++----- ges/nle/nlesource.h | 2 +- ges/nle/nleurisource.h | 2 +- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/configure.ac b/configure.ac index be7dbd1..3a20a23 100644 --- a/configure.ac +++ b/configure.ac @@ -392,7 +392,7 @@ AC_SUBST(GST_ALL_LDFLAGS) dnl GST_LIB_LDFLAGS dnl linker flags shared by all libraries dnl LDFLAGS modifier defining exported symbols from built libraries -GST_LIB_LDFLAGS=" -export-symbols-regex \^_*\(nle\|ges_\|GES_\).*" +GST_LIB_LDFLAGS=" -export-symbols-regex \^_*\(ges_\|GES_\).*" AC_SUBST(GST_LIB_LDFLAGS) dnl *** output files *** diff --git a/ges/nle/nlecomposition.h b/ges/nle/nlecomposition.h index 5fb9839..9f5da3d 100644 --- a/ges/nle/nlecomposition.h +++ b/ges/nle/nlecomposition.h @@ -60,7 +60,7 @@ struct _NleCompositionClass NleObjectClass parent_class; }; -GType nle_composition_get_type (void); +GType nle_composition_get_type (void) G_GNUC_INTERNAL; G_END_DECLS #endif /* __NLE_COMPOSITION_H__ */ diff --git a/ges/nle/nleghostpad.h b/ges/nle/nleghostpad.h index a8125c1..25fd362 100644 --- a/ges/nle/nleghostpad.h +++ b/ges/nle/nleghostpad.h @@ -30,18 +30,18 @@ G_BEGIN_DECLS GstPad *nle_object_ghost_pad (NleObject * object, - const gchar * name, GstPad * target); + const gchar * name, GstPad * target) G_GNUC_INTERNAL; GstPad *nle_object_ghost_pad_no_target (NleObject * object, - const gchar * name, GstPadDirection dir, GstPadTemplate *templ); + const gchar * name, GstPadDirection dir, GstPadTemplate *templ) G_GNUC_INTERNAL; gboolean nle_object_ghost_pad_set_target (NleObject * object, - GstPad * ghost, GstPad * target); + GstPad * ghost, GstPad * target) G_GNUC_INTERNAL; -void nle_object_remove_ghost_pad (NleObject * object, GstPad * ghost); -GstEvent * nle_object_translate_incoming_seek (NleObject * object, GstEvent * event); +void nle_object_remove_ghost_pad (NleObject * object, GstPad * ghost) G_GNUC_INTERNAL; +GstEvent * nle_object_translate_incoming_seek (NleObject * object, GstEvent * event) G_GNUC_INTERNAL; -void nle_init_ghostpad_category (void); +void nle_init_ghostpad_category (void) G_GNUC_INTERNAL; G_END_DECLS diff --git a/ges/nle/nleobject.h b/ges/nle/nleobject.h index 527deb6..a8fc787 100644 --- a/ges/nle/nleobject.h +++ b/ges/nle/nleobject.h @@ -141,32 +141,32 @@ struct _NleObjectClass gboolean (*commit) (NleObject * object, gboolean recurse); }; -GType nle_object_get_type (void); +GType nle_object_get_type (void)G_GNUC_INTERNAL; gboolean nle_object_to_media_time (NleObject * object, GstClockTime otime, - GstClockTime * mtime); + GstClockTime * mtime) G_GNUC_INTERNAL; gboolean nle_media_to_object_time (NleObject * object, GstClockTime mtime, - GstClockTime * otime); + GstClockTime * otime) G_GNUC_INTERNAL; void -nle_object_set_caps (NleObject * object, const GstCaps * caps); +nle_object_set_caps (NleObject * object, const GstCaps * caps) G_GNUC_INTERNAL; void -nle_object_set_commit_needed (NleObject *object); +nle_object_set_commit_needed (NleObject *object) G_GNUC_INTERNAL; gboolean -nle_object_commit (NleObject *object, gboolean recurse); +nle_object_commit (NleObject *object, gboolean recurse) G_GNUC_INTERNAL; void -nle_object_reset (NleObject *object); +nle_object_reset (NleObject *object) G_GNUC_INTERNAL; GstStateChangeReturn -nle_object_cleanup (NleObject * object); +nle_object_cleanup (NleObject * object) G_GNUC_INTERNAL; -void nle_object_seek_all_children (NleObject *object, GstEvent *seek_event); +void nle_object_seek_all_children (NleObject *object, GstEvent *seek_event) G_GNUC_INTERNAL; G_END_DECLS #endif /* __NLE_OBJECT_H__ */ diff --git a/ges/nle/nleoperation.h b/ges/nle/nleoperation.h index 1ad94e6..3f68f5d 100644 --- a/ges/nle/nleoperation.h +++ b/ges/nle/nleoperation.h @@ -71,20 +71,20 @@ struct _NleOperationClass void (*input_priority_changed) (NleOperation * operation, GstPad *pad, guint32 priority); }; -GstPad * get_unlinked_sink_ghost_pad (NleOperation * operation); +GstPad * get_unlinked_sink_ghost_pad (NleOperation * operation) G_GNUC_INTERNAL; void nle_operation_signal_input_priority_changed(NleOperation * operation, GstPad *pad, - guint32 priority); + guint32 priority) G_GNUC_INTERNAL; void nle_operation_update_base_time (NleOperation *operation, - GstClockTime timestamp); + GstClockTime timestamp) G_GNUC_INTERNAL; -void nle_operation_hard_cleanup (NleOperation *operation); +void nle_operation_hard_cleanup (NleOperation *operation) G_GNUC_INTERNAL; /* normal GOperation stuff */ -GType nle_operation_get_type (void); +GType nle_operation_get_type (void) G_GNUC_INTERNAL; G_END_DECLS #endif /* __NLE_OPERATION_H__ */ diff --git a/ges/nle/nlesource.h b/ges/nle/nlesource.h index e37eaa9..6fcb1af 100644 --- a/ges/nle/nlesource.h +++ b/ges/nle/nlesource.h @@ -60,7 +60,7 @@ struct _NleSourceClass gboolean (*control_element) (NleSource * source, GstElement * element); }; -GType nle_source_get_type (void); +GType nle_source_get_type (void) G_GNUC_INTERNAL; G_END_DECLS #endif /* __NLE_SOURCE_H__ */ diff --git a/ges/nle/nleurisource.h b/ges/nle/nleurisource.h index 47b8e29..a2750e5 100644 --- a/ges/nle/nleurisource.h +++ b/ges/nle/nleurisource.h @@ -51,7 +51,7 @@ struct _NleURISourceClass NleSourceClass parent_class; }; -GType nle_urisource_get_type (void); +GType nle_urisource_get_type (void) G_GNUC_INTERNAL; G_END_DECLS #endif /* __NLE_URI_SOURCE_H__ */ -- 2.7.4