mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
win32: fix exported variables for VS 2010
https://bugzilla.gnome.org/show_bug.cgi?id=666219
This commit is contained in:
parent
855212cd2f
commit
efdd0a2a82
9 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
extern GType _gst_structure_type;
|
||||
GST_EXPORT GType _gst_structure_type;
|
||||
|
||||
typedef struct _GstStructure GstStructure;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue