win32: fix exported variables for VS 2010

https://bugzilla.gnome.org/show_bug.cgi?id=666219
This commit is contained in:
Matej Knopp 2011-12-16 02:20:27 +01:00 committed by Tim-Philipp Müller
parent 855212cd2f
commit efdd0a2a82
9 changed files with 12 additions and 12 deletions

View file

@ -30,7 +30,7 @@
G_BEGIN_DECLS
extern GType _gst_buffer_type;
GST_EXPORT GType _gst_buffer_type;
typedef struct _GstBuffer GstBuffer;
typedef struct _GstBufferPool GstBufferPool;

View file

@ -27,7 +27,7 @@
G_BEGIN_DECLS
extern GType _gst_buffer_list_type;
GST_EXPORT GType _gst_buffer_list_type;
#define GST_TYPE_BUFFER_LIST (_gst_buffer_list_type)
#define GST_IS_BUFFER_LIST(obj) (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_BUFFER_LIST))

View file

@ -27,7 +27,7 @@
G_BEGIN_DECLS
extern GType _gst_caps_type;
GST_EXPORT GType _gst_caps_type;
#define GST_TYPE_CAPS (_gst_caps_type)
#define GST_IS_CAPS(obj) (GST_IS_MINI_OBJECT_TYPE((obj), GST_TYPE_CAPS))
@ -138,8 +138,8 @@ typedef enum {
typedef struct _GstCaps GstCaps;
typedef struct _GstStaticCaps GstStaticCaps;
extern GstCaps * _gst_caps_any;
extern GstCaps * _gst_caps_none;
GST_EXPORT GstCaps * _gst_caps_any;
GST_EXPORT GstCaps * _gst_caps_none;
/**
* GST_CAPS_FLAGS:
* @caps: a #GstCaps.

View file

@ -174,7 +174,7 @@ typedef enum {
G_BEGIN_DECLS
extern GType _gst_event_type;
GST_EXPORT GType _gst_event_type;
#define GST_TYPE_EVENT (_gst_event_type)
#define GST_IS_EVENT(obj) (GST_IS_MINI_OBJECT_TYPE (obj, GST_TYPE_EVENT))

View file

@ -485,7 +485,7 @@ G_STMT_START{ \
*/
GST_EXPORT GstDebugCategory * GST_CAT_DEFAULT;
/* this symbol may not be used */
extern gboolean _gst_debug_enabled;
GST_EXPORT gboolean _gst_debug_enabled;
/* since 0.10.7, the min debug level, used for quickly discarding debug
* messages that fall under the threshold. */

View file

@ -36,7 +36,7 @@ typedef struct _GstMemory GstMemory;
typedef struct _GstMemoryInfo GstMemoryInfo;
typedef struct _GstAllocator GstAllocator;
extern gsize gst_memory_alignment;
GST_EXPORT gsize gst_memory_alignment;
/**
* GstMemoryFlags:

View file

@ -30,7 +30,7 @@
G_BEGIN_DECLS
extern GType _gst_sample_type;
GST_EXPORT GType _gst_sample_type;
#define GST_TYPE_SAMPLE (_gst_sample_type)
#define GST_IS_SAMPLE(obj) (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_SAMPLE))

View file

@ -28,7 +28,7 @@
G_BEGIN_DECLS
extern GType _gst_structure_type;
GST_EXPORT GType _gst_structure_type;
typedef struct _GstStructure GstStructure;

View file

@ -124,7 +124,7 @@ void _gst_trace_add_entry (GstTrace *trace, guint32 seq,
void gst_trace_read_tsc (gint64 *dst);
extern GStaticMutex _gst_trace_mutex;
GST_EXPORT GStaticMutex _gst_trace_mutex;
gboolean gst_alloc_trace_available (void);
const GList* gst_alloc_trace_list (void);
@ -196,7 +196,7 @@ G_STMT_START { \
#endif
extern gint _gst_trace_on;
GST_EXPORT gint _gst_trace_on;
/**
* gst_trace_add_entry:
* @trace: a #GstTrace