Somehow a clean fix to the semi-private export

Original commit message from CVS:
Somehow a clean fix to the semi-private export
This commit is contained in:
Steve Lhomme 2004-06-12 13:45:17 +00:00
parent f4f4c913f1
commit 30128f9b16
6 changed files with 8 additions and 5 deletions

View file

@ -40,7 +40,7 @@
#define GST_PLUGIN_SEPARATOR ","
#ifndef GST_DISABLE_REGISTRY
GSTREAMER_EXPORT gboolean _gst_registry_auto_load = TRUE;
gboolean _gst_registry_auto_load = TRUE;
static GstRegistry *_global_registry;
static GstRegistry *_user_registry;
static gboolean _gst_registry_fixed = FALSE;

View file

@ -74,6 +74,10 @@ G_BEGIN_DECLS
* definition is iffy */
typedef struct poptOption GstPoptOption;
#ifndef GST_DISABLE_REGISTRY
GSTREAMER_EXPORT gboolean _gst_registry_auto_load;
#endif
/* initialize GST */
void gst_init (int *argc, char **argv[]);
gboolean gst_init_check (int *argc, char **argv[]);

View file

@ -38,7 +38,7 @@ static GstElementDetails gst_bin_details = GST_ELEMENT_DETAILS ("Generic bin",
"Simple container object",
"Erik Walthinsen <omega@cse.ogi.edu>");
GSTREAMER_EXPORT GType _gst_bin_type = 0;
GType _gst_bin_type = 0;
static gboolean _gst_boolean_did_something_accumulator (GSignalInvocationHint *
ihint, GValue * return_accu, const GValue * handler_return, gpointer dummy);

View file

@ -83,7 +83,7 @@ static xmlNodePtr gst_element_save_thyself (GstObject * object,
static void gst_element_restore_thyself (GstObject * parent, xmlNodePtr self);
#endif
GSTREAMER_EXPORT GType _gst_element_type = 0;
GType _gst_element_type = 0;
static GstObjectClass *parent_class = NULL;
static guint gst_element_signals[LAST_SIGNAL] = { 0 };

View file

@ -55,7 +55,7 @@ enum
SO_LAST_SIGNAL
};
GSTREAMER_EXPORT GType _gst_object_type = 0;
GType _gst_object_type = 0;
static GHashTable *object_name_counts = NULL;
G_LOCK_DEFINE_STATIC (object_name_mutex);

View file

@ -37,7 +37,6 @@
#include <errno.h>
#include <locale.h>
GSTREAMER_EXPORT gboolean _gst_registry_auto_load;
static gint num_features = 0;
static gint num_plugins = 0;