rename GSTREAMER_EXPORT to GST_EXPORT

Original commit message from CVS:
rename GSTREAMER_EXPORT to GST_EXPORT
This commit is contained in:
Steve Lhomme 2004-06-13 10:04:12 +00:00
parent b289a5b010
commit 395faf9c06
15 changed files with 41 additions and 25 deletions

View file

@ -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:

View file

@ -1753,7 +1753,7 @@ GST_DISABLE_INDEX
GST_DISABLE_PLUGIN
GST_DISABLE_URI
GST_PTR_FORMAT
GSTREAMER_EXPORT
GST_EXPORT
</SECTION>
<SECTION>

View 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>

View file

@ -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 */

View 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))

View file

@ -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__ */

View 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))

View 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,

View 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))

View 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

View 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"

View 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

View file

@ -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__ */

View 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"

View 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