gst/: Move declaration of private _gst_foo_initialize() functions into our private...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 2 Nov 2007 18:35:37 +0000 (18:35 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 2 Nov 2007 18:35:37 +0000 (18:35 +0000)
Original commit message from CVS:
* gst/gst_private.h:
* gst/gstbuffer.h:
* gst/gstevent.h:
* gst/gstformat.h:
* gst/gstmessage.h:
* gst/gstplugin.h:
* gst/gstquery.h:
* gst/gsttaglist.h:
* gst/gstvalue.h:
Move declaration of private _gst_foo_initialize() functions into
our private header file where they should have been all along.

ChangeLog
gst/gst_private.h
gst/gstbuffer.h
gst/gstevent.h
gst/gstformat.h
gst/gstmessage.h
gst/gstplugin.h
gst/gstquery.h
gst/gsttaglist.h
gst/gstvalue.h

index ccddcb9..8ab6469 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * gst/gst_private.h:
+       * gst/gstbuffer.h:
+       * gst/gstevent.h:
+       * gst/gstformat.h:
+       * gst/gstmessage.h:
+       * gst/gstplugin.h:
+       * gst/gstquery.h:
+       * gst/gsttaglist.h:
+       * gst/gstvalue.h:
+         Move declaration of private _gst_foo_initialize() functions into
+         our private header file where they should have been all along.
+
+2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
+
        * docs/plugins/gstreamer-plugins-sections.txt:
        * gst/gstdebugutils.h:
        * gst/gstxml.h:
index 3d778f6..34b7e75 100644 (file)
@@ -47,6 +47,20 @@ gboolean __gst_in_valgrind (void);
 /* Initialize GStreamer private quark storage */
 void _priv_gst_quarks_initialize (void);
 
+/* Other init functions called from gst_init().
+ * FIXME 0.11: rename to _priv_gst_foo_init() so they don't get exported
+ * (can't do this now because these functions used to be in our public
+ * headers, so at least the symbols need to continue to be available unless
+ * we want enterprise edition packagers dancing on our heads) */
+void  _gst_buffer_initialize (void);
+void  _gst_event_initialize (void);
+void  _gst_format_initialize (void);
+void  _gst_message_initialize (void);
+void  _gst_plugin_initialize (void);
+void  _gst_query_initialize (void);
+void  _gst_tag_initialize (void);
+void  _gst_value_initialize (void);
+
 /* Private registry functions */
 gboolean _priv_gst_registry_remove_cache_plugins (GstRegistry *registry);
 void _priv_gst_registry_cleanup (void);
index 5f92ff1..7ba0e71 100644 (file)
@@ -455,9 +455,6 @@ GstBuffer*  gst_buffer_span                 (GstBuffer *buf1, guint32 offset, GstBuffer *buf2,
  */
 #define                gst_value_get_buffer(v)         GST_BUFFER_CAST (gst_value_get_mini_object(v))
 
-/* --- protected --- */
-void           _gst_buffer_initialize          (void);
-
 G_END_DECLS
 
 #endif /* __GST_BUFFER_H__ */
index 3232f04..acbabac 100644 (file)
@@ -312,8 +312,6 @@ struct _GstEventClass {
   gpointer _gst_reserved[GST_PADDING];
 };
 
-void           _gst_event_initialize           (void);
-
 const gchar*    gst_event_type_get_name         (GstEventType type);
 GQuark          gst_event_type_to_quark                (GstEventType type);
 GstEventTypeFlags
index a9cca60..6559cf2 100644 (file)
@@ -88,8 +88,6 @@ struct _GstFormatDefinition
   GQuark     quark;
 };
 
-void           _gst_format_initialize          (void);
-
 const gchar*    gst_format_get_name             (GstFormat format);
 GQuark          gst_format_to_quark             (GstFormat format);
 
index fb65d9f..f4e3dd5 100644 (file)
@@ -215,8 +215,6 @@ struct _GstMessageClass {
   gpointer _gst_reserved[GST_PADDING];
 };
 
-void           _gst_message_initialize         (void);
-
 GType          gst_message_get_type            (void);
 
 const gchar*   gst_message_type_get_name       (GstMessageType type);
index 93bc9b7..d65fccd 100644 (file)
@@ -258,7 +258,6 @@ typedef gboolean        (*GstPluginFilter)              (GstPlugin *plugin,
 
 GType                   gst_plugin_get_type             (void);
 
-void                   _gst_plugin_initialize          (void);
 void                   _gst_plugin_register_static     (GstPluginDesc *desc);
 
 G_CONST_RETURN gchar*  gst_plugin_get_name             (GstPlugin *plugin);
index 88d552a..181d59c 100644 (file)
@@ -139,8 +139,6 @@ struct _GstQueryClass {
   gpointer _gst_reserved[GST_PADDING];
 };
 
-void            _gst_query_initialize          (void);
-
 const gchar*    gst_query_type_get_name        (GstQueryType query);
 GQuark          gst_query_type_to_quark        (GstQueryType query);
 
index c0586fe..f9162cb 100644 (file)
@@ -173,10 +173,9 @@ typedef void (*GstTagForeachFunc) (const GstTagList * list,
  */
 typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);
 
-/* initialize tagging system */
-void         _gst_tag_initialize   (void);
 GType        gst_tag_list_get_type (void);
 
+/* tag registration */
 void         gst_tag_register      (const gchar     * name,
                                     GstTagFlag        flag,
                                     GType             type,
index e4107b2..09a77c9 100644 (file)
@@ -533,9 +533,6 @@ void                gst_value_register_subtract_func (GType         minuend_type,
 /* fixation */
 gboolean       gst_value_is_fixed              (const GValue   *value);
 
-/* private */
-void           _gst_value_initialize           (void);
-
 G_END_DECLS
 
 #endif