From: Steve L. <ro...@pd...> - 2004-06-13 10:02:05
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: robux4 Date: Sun Jun 13 2004 03:02:01 PDT Log message: rename GSTREAMER_EXPORT to GST_EXPORT Modified files: docs/gst : gstreamer-sections.txt docs/gst/tmpl : gstconfig.sgml gst : gst.h gstbin.h gstconfig.h.in gstelement.h gstevent.h gstobject.h gstpad.h win32 : GStreamer.vcproj Makefile gstconfig.h Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/docs/gst/gstreamer-sections.txt.diff?r1=1.100&r2=1.101 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/docs/gst/tmpl/gstconfig.sgml.diff?r1=1.6&r2=1.7 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gst.h.diff?r1=1.69&r2=1.70 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstbin.h.diff?r1=1.62&r2=1.63 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstconfig.h.in.diff?r1=1.7&r2=1.8 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstelement.h.diff?r1=1.174&r2=1.175 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstevent.h.diff?r1=1.49&r2=1.50 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstobject.h.diff?r1=1.45&r2=1.46 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstpad.h.diff?r1=1.150&r2=1.151 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/win32/GStreamer.vcproj.diff?r1=1.3&r2=1.4 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/win32/Makefile.diff?r1=1.4&r2=1.5 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/win32/gstconfig.h.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: gstreamer-sections.txt =================================================================== RCS file: /cvs/gstreamer/gstreamer/docs/gst/gstreamer-sections.txt,v retrieving revision 1.100 retrieving revision 1.101 diff -u -d -r1.100 -r1.101 --- gstreamer-sections.txt 13 Jun 2004 02:18:18 -0000 1.100 +++ gstreamer-sections.txt 13 Jun 2004 10:01:49 -0000 1.101 @@ -1753,7 +1753,7 @@ GST_DISABLE_PLUGIN GST_DISABLE_URI GST_PTR_FORMAT -GSTREAMER_EXPORT +GST_EXPORT </SECTION> <SECTION> Index: gstconfig.sgml RCS file: /cvs/gstreamer/gstreamer/docs/gst/tmpl/gstconfig.sgml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gstconfig.sgml 13 Jun 2004 02:18:18 -0000 1.6 +++ gstconfig.sgml 13 Jun 2004 10:01:49 -0000 1.7 @@ -122,9 +122,9 @@ -<!-- ##### MACRO GSTREAMER_EXPORT ##### --> +<!-- ##### MACRO GST_EXPORT ##### --> <para> - +Under Windows it permits to export variables from a DLL, otherwise it just means extern. </para> Index: gst.h RCS file: /cvs/gstreamer/gstreamer/gst/gst.h,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- gst.h 12 Jun 2004 13:28:13 -0000 1.69 +++ gst.h 13 Jun 2004 10:01:49 -0000 1.70 @@ -75,7 +75,7 @@ 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: gstbin.h RCS file: /cvs/gstreamer/gstreamer/gst/gstbin.h,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- gstbin.h 12 Jun 2004 10:51:34 -0000 1.62 +++ gstbin.h 13 Jun 2004 10:01:49 -0000 1.63 @@ -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: gstconfig.h.in RCS file: /cvs/gstreamer/gstreamer/gst/gstconfig.h.in,v retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- gstconfig.h.in 12 Jun 2004 12:50:24 -0000 1.7 +++ gstconfig.h.in 13 Jun 2004 10:01:49 -0000 1.8 @@ -68,13 +68,13 @@ #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 -#define GSTREAMER_EXPORT extern +#define GST_EXPORT extern #endif /* __GST_CONFIG_H__ */ Index: gstelement.h RCS file: /cvs/gstreamer/gstreamer/gst/gstelement.h,v retrieving revision 1.174 retrieving revision 1.175 diff -u -d -r1.174 -r1.175 --- gstelement.h 12 Jun 2004 10:51:35 -0000 1.174 +++ gstelement.h 13 Jun 2004 10:01:49 -0000 1.175 @@ -70,7 +70,7 @@ #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: gstevent.h RCS file: /cvs/gstreamer/gstreamer/gst/gstevent.h,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- gstevent.h 12 Jun 2004 10:51:35 -0000 1.49 +++ gstevent.h 13 Jun 2004 10:01:49 -0000 1.50 @@ -32,7 +32,7 @@ -GSTREAMER_EXPORT GType _gst_event_type; +GST_EXPORT GType _gst_event_type; typedef enum { GST_EVENT_UNKNOWN = 0, Index: gstobject.h RCS file: /cvs/gstreamer/gstreamer/gst/gstobject.h,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- gstobject.h 12 Jun 2004 10:51:35 -0000 1.45 +++ gstobject.h 13 Jun 2004 10:01:49 -0000 1.46 -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: gstpad.h RCS file: /cvs/gstreamer/gstreamer/gst/gstpad.h,v retrieving revision 1.150 retrieving revision 1.151 diff -u -d -r1.150 -r1.151 --- gstpad.h 12 Jun 2004 10:51:35 -0000 1.150 +++ gstpad.h 13 Jun 2004 10:01:49 -0000 1.151 @@ -36,9 +36,9 @@ -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: GStreamer.vcproj RCS file: /cvs/gstreamer/gstreamer/win32/GStreamer.vcproj,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- GStreamer.vcproj 12 Jun 2004 10:41:47 -0000 1.3 +++ GStreamer.vcproj 13 Jun 2004 10:01:49 -0000 1.4 @@ -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 @@ <Tool 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: Makefile RCS file: /cvs/gstreamer/gstreamer/win32/Makefile,v retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile 12 Jun 2004 10:41:47 -0000 1.4 +++ Makefile 13 Jun 2004 10:01:49 -0000 1.5 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: gstconfig.h RCS file: /cvs/gstreamer/gstreamer/win32/gstconfig.h,v retrieving revision 1.2 diff -u -d -r1.2 -r1.3 --- gstconfig.h 12 Jun 2004 12:50:24 -0000 1.2 +++ gstconfig.h 13 Jun 2004 10:01:49 -0000 1.3 |