rename GSTREAMER_EXPORT to GST_EXPORT
authorSteve Lhomme <steve.lhomme@free.fr>
Sun, 13 Jun 2004 10:04:12 +0000 (10:04 +0000)
committerSteve Lhomme <steve.lhomme@free.fr>
Sun, 13 Jun 2004 10:04:12 +0000 (10:04 +0000)
Original commit message from CVS:
rename GSTREAMER_EXPORT to GST_EXPORT

15 files changed:
ChangeLog
docs/gst/gstreamer-sections.txt
docs/gst/tmpl/gstconfig.sgml
gst/gst.h
gst/gstbin.h
gst/gstconfig.h.in
gst/gstelement.h
gst/gstevent.h
gst/gstobject.h
gst/gstpad.h
win32/GStreamer.vcproj
win32/Makefile
win32/gstconfig.h
win32/vs7/GStreamer.vcproj
win32/vs7/Makefile

index d577169..5dcd3b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2004-06-13  Steve Lhomme  <steve.lhomme@free.fr>
+
+       * win32/gstconfig.h:
+       * win32/GSTreamer.vcproj:
+       * win32/Makefile:
+       * gst/gstconfig.h.in:
+       * gst/gst.h:
+       * gst/gstbin.h:
+       * gst/gstelement.h:
+       * gst/gstevent.h:
+       * gst/gstobject.h:
+       * gst/gstpad.h:
+       * docs/gst/gstreamer-sections.txt:
+       * docs/gst/tmpl/gstconfig.sgml:
+          rename GSTREAMER_EXPORT(S) to GST_EXPORT(S)
+
 2004-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
        * docs/gst/gstreamer-sections.txt:
        * docs/gst/tmpl/gstconfig.sgml:
index 2adc328..e4db7a0 100644 (file)
@@ -1753,7 +1753,7 @@ GST_DISABLE_INDEX
 GST_DISABLE_PLUGIN
 GST_DISABLE_URI
 GST_PTR_FORMAT
-GSTREAMER_EXPORT
+GST_EXPORT
 </SECTION>
 
 <SECTION>
index d896be2..16c15e5 100644 (file)
@@ -122,9 +122,9 @@ If this is defined, the <link linkend="gstreamer-gstinfo">debugging subsystem
 
 
 
-<!-- ##### MACRO GSTREAMER_EXPORT ##### -->
+<!-- ##### MACRO GST_EXPORT ##### -->
 <para>
-
+Under Windows it permits to export variables from a DLL, otherwise it just means extern.
 </para>
 
 
index bab6c65..44c44b6 100644 (file)
--- a/gst/gst.h
+++ b/gst/gst.h
@@ -75,7 +75,7 @@ G_BEGIN_DECLS
 typedef struct poptOption GstPoptOption;
 
 #ifndef GST_DISABLE_REGISTRY
-GSTREAMER_EXPORT gboolean _gst_registry_auto_load;
+GST_EXPORT gboolean _gst_registry_auto_load;
 #endif
 
 /* initialize GST */
index 109251e..b0c3f53 100644 (file)
@@ -28,7 +28,7 @@
 
 G_BEGIN_DECLS
 
-GSTREAMER_EXPORT GType _gst_bin_type;
+GST_EXPORT GType _gst_bin_type;
 
 #define GST_TYPE_BIN             (_gst_bin_type)
 #define GST_IS_BIN(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_BIN))
index 32545a2..71d40d6 100644 (file)
 #endif
 
 #ifdef WIN32
-#ifdef GSTREAMER_EXPORTS
-#define GSTREAMER_EXPORT __declspec(dllexport) extern
+#ifdef GST_EXPORTS
+#define GST_EXPORT __declspec(dllexport) extern
 #else
-#define GSTREAMER_EXPORT __declspec(dllimport) extern
+#define GST_EXPORT __declspec(dllimport) extern
 #endif
 #else
-#define GSTREAMER_EXPORT extern
+#define GST_EXPORT extern
 #endif
 
 #endif /* __GST_CONFIG_H__ */
index e2b389e..0cb292c 100644 (file)
@@ -70,7 +70,7 @@ struct _GstElementDetails {
 #define GST_STATE_PAUSED_TO_READY      ((GST_STATE_PAUSED<<8) | GST_STATE_READY)
 #define GST_STATE_READY_TO_NULL                ((GST_STATE_READY<<8) | GST_STATE_NULL)
 
-GSTREAMER_EXPORT GType _gst_element_type;
+GST_EXPORT GType _gst_element_type;
 
 #define GST_TYPE_ELEMENT               (_gst_element_type)
 #define GST_IS_ELEMENT(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_ELEMENT))
index cecae7b..4c65e1c 100644 (file)
@@ -32,7 +32,7 @@
 
 G_BEGIN_DECLS
 
-GSTREAMER_EXPORT GType _gst_event_type;
+GST_EXPORT GType _gst_event_type;
 
 typedef enum {
   GST_EVENT_UNKNOWN            = 0,
index d5e1c73..a036002 100644 (file)
@@ -32,7 +32,7 @@
 
 G_BEGIN_DECLS
 
-GSTREAMER_EXPORT GType _gst_object_type;
+GST_EXPORT GType _gst_object_type;
 
 #define GST_TYPE_OBJECT                        (_gst_object_type)
 #define GST_IS_OBJECT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_OBJECT))
index b218593..ea79daf 100644 (file)
@@ -36,9 +36,9 @@
 
 G_BEGIN_DECLS
 
-GSTREAMER_EXPORT GType _gst_pad_type;
-GSTREAMER_EXPORT GType _gst_real_pad_type;
-GSTREAMER_EXPORT GType _gst_ghost_pad_type;
+GST_EXPORT GType _gst_pad_type;
+GST_EXPORT GType _gst_real_pad_type;
+GST_EXPORT GType _gst_ghost_pad_type;
 
 /* 
  * Pad base class
index 2b9c63c..fd6e11e 100644 (file)
@@ -22,7 +22,7 @@
                                Name="VCCLCompilerTool"
                                Optimization="0"
                                AdditionalIncludeDirectories="D:\Perso\Programmes\GStreamer\gstreamer\win32;.\;..\;..\libs;..\..\popt\include;..\..\glib\gmodule;..\..\gettext\include;..\..\libiconv\include;..\..\libxml2\include\libxml2;..\..\glib;..\..\glib\glib;..\..\glib\build\win32"
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GSTREAMER_EXPORTS"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GST_EXPORTS"
                                MinimalRebuild="TRUE"
                                BasicRuntimeChecks="3"
                                RuntimeLibrary="3"
@@ -99,7 +99,7 @@ type gstreamer-dbg.def &gt;&gt; gst.def
                        <Tool
                                Name="VCCLCompilerTool"
                                AdditionalIncludeDirectories=".\;..\;..\libs;..\..\popt\include;..\..\glib\gmodule;..\..\gettext\include;..\..\libiconv\include;..\..\libxml2\include\libxml2;..\..\glib;..\..\glib\glib;..\..\glib\win32"
-                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GST_DISABLE_GST_DEBUG;GSTREAMER_EXPORTS"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GST_DISABLE_GST_DEBUG;GST_EXPORTS"
                                RuntimeLibrary="2"
                                UsePrecompiledHeader="2"
                                PrecompiledHeaderThrough="config.h"
index bf802dd..7421985 100644 (file)
@@ -32,7 +32,7 @@ OBJ  = $(patsubst %.c,%.obj,$(SRC))
 INCS = /I. /I.. /I../libs /I../../popt/include /I../../libiconv/include /I../../libxml2/include/libxml2 /I$(GLIB_DIR) /I$(GLIB_DIR)\glib /I$(GLIB_DIR)\gmodule /I$(GLIB_DIR)\build\win32
 LDFLAGS = /NOLOGO /DLL /IMPLIB:gstreamer-0.8.lib /MAP:gstreamer.map /LIBPATH:$(GLIB_DIR)/glib /LIBPATH:$(GLIB_DIR)/gobject /LIBPATH:$(GLIB_DIR)/gmodule /LIBPATH:$(GLIB_DIR)/gthread /LIBPATH:../../popt/lib /LIBPATH:../../libxml2/lib
 OPTMIZ = /G6 /O2 /Oi /Wp64 /GL
-CXXFLAGS = $(INCS) /DWIN32 /D_WINDOWS /DHAVE_CONFIG_H /D_USRDLL /DHAVE_WIN32 /nologo
+CXXFLAGS = $(INCS) /DWIN32 /D_WINDOWS /DHAVE_CONFIG_H /D_USRDLL /DHAVE_WIN32 /DGST_EXPORTS /nologo
 
 
 HEADERS = $(SRC_DIR)\gstversion.h $(SRC_DIR)\gstconfig.h $(SRC_DIR)\gstenumtypes.h $(SRC_DIR)\gstenumtypes.c $(SRC_DIR)\gstmarshal.h
index 2db9d43..84937f7 100644 (file)
 #endif
 
 #ifdef WIN32
-#ifdef GSTREAMER_EXPORTS
-#define GSTREAMER_EXPORT __declspec(dllexport) extern
+#ifdef GST_EXPORTS
+#define GST_EXPORT __declspec(dllexport) extern
 #else
-#define GSTREAMER_EXPORT __declspec(dllimport) extern
+#define GST_EXPORT __declspec(dllimport) extern
 #endif
 #else
-#define GSTREAMER_EXPORT extern
+#define GST_EXPORT extern
 #endif
 
 #endif /* __GST_CONFIG_H__ */
index 2b9c63c..fd6e11e 100644 (file)
@@ -22,7 +22,7 @@
                                Name="VCCLCompilerTool"
                                Optimization="0"
                                AdditionalIncludeDirectories="D:\Perso\Programmes\GStreamer\gstreamer\win32;.\;..\;..\libs;..\..\popt\include;..\..\glib\gmodule;..\..\gettext\include;..\..\libiconv\include;..\..\libxml2\include\libxml2;..\..\glib;..\..\glib\glib;..\..\glib\build\win32"
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GSTREAMER_EXPORTS"
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GST_EXPORTS"
                                MinimalRebuild="TRUE"
                                BasicRuntimeChecks="3"
                                RuntimeLibrary="3"
@@ -99,7 +99,7 @@ type gstreamer-dbg.def &gt;&gt; gst.def
                        <Tool
                                Name="VCCLCompilerTool"
                                AdditionalIncludeDirectories=".\;..\;..\libs;..\..\popt\include;..\..\glib\gmodule;..\..\gettext\include;..\..\libiconv\include;..\..\libxml2\include\libxml2;..\..\glib;..\..\glib\glib;..\..\glib\win32"
-                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GST_DISABLE_GST_DEBUG;GSTREAMER_EXPORTS"
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;HAVE_CONFIG_H;HAVE_WIN32;GST_DISABLE_GST_DEBUG;GST_EXPORTS"
                                RuntimeLibrary="2"
                                UsePrecompiledHeader="2"
                                PrecompiledHeaderThrough="config.h"
index bf802dd..7421985 100644 (file)
@@ -32,7 +32,7 @@ OBJ  = $(patsubst %.c,%.obj,$(SRC))
 INCS = /I. /I.. /I../libs /I../../popt/include /I../../libiconv/include /I../../libxml2/include/libxml2 /I$(GLIB_DIR) /I$(GLIB_DIR)\glib /I$(GLIB_DIR)\gmodule /I$(GLIB_DIR)\build\win32
 LDFLAGS = /NOLOGO /DLL /IMPLIB:gstreamer-0.8.lib /MAP:gstreamer.map /LIBPATH:$(GLIB_DIR)/glib /LIBPATH:$(GLIB_DIR)/gobject /LIBPATH:$(GLIB_DIR)/gmodule /LIBPATH:$(GLIB_DIR)/gthread /LIBPATH:../../popt/lib /LIBPATH:../../libxml2/lib
 OPTMIZ = /G6 /O2 /Oi /Wp64 /GL
-CXXFLAGS = $(INCS) /DWIN32 /D_WINDOWS /DHAVE_CONFIG_H /D_USRDLL /DHAVE_WIN32 /nologo
+CXXFLAGS = $(INCS) /DWIN32 /D_WINDOWS /DHAVE_CONFIG_H /D_USRDLL /DHAVE_WIN32 /DGST_EXPORTS /nologo
 
 
 HEADERS = $(SRC_DIR)\gstversion.h $(SRC_DIR)\gstconfig.h $(SRC_DIR)\gstenumtypes.h $(SRC_DIR)\gstenumtypes.c $(SRC_DIR)\gstmarshal.h