From 395faf9c062319c747933501d13dc551b8e7d715 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sun, 13 Jun 2004 10:04:12 +0000 Subject: [PATCH] rename GSTREAMER_EXPORT to GST_EXPORT Original commit message from CVS: rename GSTREAMER_EXPORT to GST_EXPORT --- ChangeLog | 16 ++++++++++++++++ docs/gst/gstreamer-sections.txt | 2 +- docs/gst/tmpl/gstconfig.sgml | 4 ++-- gst/gst.h | 2 +- gst/gstbin.h | 2 +- gst/gstconfig.h.in | 8 ++++---- gst/gstelement.h | 2 +- gst/gstevent.h | 2 +- gst/gstobject.h | 2 +- gst/gstpad.h | 6 +++--- win32/GStreamer.vcproj | 4 ++-- win32/Makefile | 2 +- win32/gstconfig.h | 8 ++++---- win32/vs7/GStreamer.vcproj | 4 ++-- win32/vs7/Makefile | 2 +- 15 files changed, 41 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index d577169b62..5dcd3b8cb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2004-06-13 Steve Lhomme + + * 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 * docs/gst/gstreamer-sections.txt: * docs/gst/tmpl/gstconfig.sgml: diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 2adc328728..e4db7a05b7 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -1753,7 +1753,7 @@ GST_DISABLE_INDEX GST_DISABLE_PLUGIN GST_DISABLE_URI GST_PTR_FORMAT -GSTREAMER_EXPORT +GST_EXPORT
diff --git a/docs/gst/tmpl/gstconfig.sgml b/docs/gst/tmpl/gstconfig.sgml index d896be2396..16c15e5236 100644 --- a/docs/gst/tmpl/gstconfig.sgml +++ b/docs/gst/tmpl/gstconfig.sgml @@ -122,9 +122,9 @@ If this is defined, the debugging subsystem - + - +Under Windows it permits to export variables from a DLL, otherwise it just means extern. diff --git a/gst/gst.h b/gst/gst.h index bab6c65c83..44c44b6b9d 100644 --- 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 */ diff --git a/gst/gstbin.h b/gst/gstbin.h index 109251e23e..b0c3f538f5 100644 --- a/gst/gstbin.h +++ b/gst/gstbin.h @@ -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)) diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in index 32545a21e8..71d40d63f8 100644 --- a/gst/gstconfig.h.in +++ b/gst/gstconfig.h.in @@ -68,13 +68,13 @@ #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__ */ diff --git a/gst/gstelement.h b/gst/gstelement.h index e2b389eb52..0cb292cf96 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -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)) diff --git a/gst/gstevent.h b/gst/gstevent.h index cecae7b5d9..4c65e1cd32 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -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, diff --git a/gst/gstobject.h b/gst/gstobject.h index d5e1c73262..a036002736 100644 --- a/gst/gstobject.h +++ b/gst/gstobject.h @@ -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)) diff --git a/gst/gstpad.h b/gst/gstpad.h index b2185932b1..ea79dafad6 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -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 diff --git a/win32/GStreamer.vcproj b/win32/GStreamer.vcproj index 2b9c63ca6f..fd6e11eccd 100644 --- a/win32/GStreamer.vcproj +++ b/win32/GStreamer.vcproj @@ -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 >> gst.def