nle: Hide away symbols, they're supposed to be internal

This commit is contained in:
Sebastian Dröge 2015-06-25 10:24:13 +02:00
parent e547085a73
commit fd81083071
7 changed files with 24 additions and 24 deletions

View file

@ -392,7 +392,7 @@ AC_SUBST(GST_ALL_LDFLAGS)
dnl GST_LIB_LDFLAGS dnl GST_LIB_LDFLAGS
dnl linker flags shared by all libraries dnl linker flags shared by all libraries
dnl LDFLAGS modifier defining exported symbols from built 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) AC_SUBST(GST_LIB_LDFLAGS)
dnl *** output files *** dnl *** output files ***

View file

@ -60,7 +60,7 @@ struct _NleCompositionClass
NleObjectClass parent_class; NleObjectClass parent_class;
}; };
GType nle_composition_get_type (void); GType nle_composition_get_type (void) G_GNUC_INTERNAL;
G_END_DECLS G_END_DECLS
#endif /* __NLE_COMPOSITION_H__ */ #endif /* __NLE_COMPOSITION_H__ */

View file

@ -30,18 +30,18 @@
G_BEGIN_DECLS G_BEGIN_DECLS
GstPad *nle_object_ghost_pad (NleObject * object, 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, 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, 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); void nle_object_remove_ghost_pad (NleObject * object, GstPad * ghost) G_GNUC_INTERNAL;
GstEvent * nle_object_translate_incoming_seek (NleObject * object, GstEvent * event); 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 G_END_DECLS

View file

@ -141,32 +141,32 @@ struct _NleObjectClass
gboolean (*commit) (NleObject * object, gboolean recurse); gboolean (*commit) (NleObject * object, gboolean recurse);
}; };
GType nle_object_get_type (void); GType nle_object_get_type (void)G_GNUC_INTERNAL;
gboolean gboolean
nle_object_to_media_time (NleObject * object, GstClockTime otime, nle_object_to_media_time (NleObject * object, GstClockTime otime,
GstClockTime * mtime); GstClockTime * mtime) G_GNUC_INTERNAL;
gboolean gboolean
nle_media_to_object_time (NleObject * object, GstClockTime mtime, nle_media_to_object_time (NleObject * object, GstClockTime mtime,
GstClockTime * otime); GstClockTime * otime) G_GNUC_INTERNAL;
void void
nle_object_set_caps (NleObject * object, const GstCaps * caps); nle_object_set_caps (NleObject * object, const GstCaps * caps) G_GNUC_INTERNAL;
void void
nle_object_set_commit_needed (NleObject *object); nle_object_set_commit_needed (NleObject *object) G_GNUC_INTERNAL;
gboolean gboolean
nle_object_commit (NleObject *object, gboolean recurse); nle_object_commit (NleObject *object, gboolean recurse) G_GNUC_INTERNAL;
void void
nle_object_reset (NleObject *object); nle_object_reset (NleObject *object) G_GNUC_INTERNAL;
GstStateChangeReturn 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 G_END_DECLS
#endif /* __NLE_OBJECT_H__ */ #endif /* __NLE_OBJECT_H__ */

View file

@ -71,20 +71,20 @@ struct _NleOperationClass
void (*input_priority_changed) (NleOperation * operation, GstPad *pad, guint32 priority); 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 void
nle_operation_signal_input_priority_changed(NleOperation * operation, GstPad *pad, 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, 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 */ /* normal GOperation stuff */
GType nle_operation_get_type (void); GType nle_operation_get_type (void) G_GNUC_INTERNAL;
G_END_DECLS G_END_DECLS
#endif /* __NLE_OPERATION_H__ */ #endif /* __NLE_OPERATION_H__ */

View file

@ -60,7 +60,7 @@ struct _NleSourceClass
gboolean (*control_element) (NleSource * source, GstElement * element); 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 G_END_DECLS
#endif /* __NLE_SOURCE_H__ */ #endif /* __NLE_SOURCE_H__ */

View file

@ -51,7 +51,7 @@ struct _NleURISourceClass
NleSourceClass parent_class; NleSourceClass parent_class;
}; };
GType nle_urisource_get_type (void); GType nle_urisource_get_type (void) G_GNUC_INTERNAL;
G_END_DECLS G_END_DECLS
#endif /* __NLE_URI_SOURCE_H__ */ #endif /* __NLE_URI_SOURCE_H__ */