summaryrefslogtreecommitdiff
path: root/gst/gstallocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstallocator.h')
-rw-r--r--gst/gstallocator.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gst/gstallocator.h b/gst/gstallocator.h
index 5a9fa37e5..29c1a0f09 100644
--- a/gst/gstallocator.h
+++ b/gst/gstallocator.h
@@ -41,7 +41,7 @@ typedef struct _GstAllocatorClass GstAllocatorClass;
#define GST_TYPE_ALLOCATION_PARAMS (gst_allocation_params_get_type())
-GST_EXPORT
+GST_API
GType gst_allocation_params_get_type(void);
typedef struct _GstAllocationParams GstAllocationParams;
@@ -53,7 +53,7 @@ typedef struct _GstAllocationParams GstAllocationParams;
* an alignment of 7 would be the same as what malloc() guarantees.
*/
-GST_EXPORT gsize gst_memory_alignment;
+GST_API gsize gst_memory_alignment;
/**
* GST_ALLOCATOR_SYSMEM:
@@ -151,42 +151,42 @@ struct _GstAllocatorClass {
gpointer _gst_reserved[GST_PADDING];
};
-GST_EXPORT
+GST_API
GType gst_allocator_get_type (void);
/* allocators */
-GST_EXPORT
+GST_API
void gst_allocator_register (const gchar *name, GstAllocator *allocator);
-GST_EXPORT
+GST_API
GstAllocator * gst_allocator_find (const gchar *name);
-GST_EXPORT
+GST_API
void gst_allocator_set_default (GstAllocator * allocator);
/* allocation parameters */
-GST_EXPORT
+GST_API
void gst_allocation_params_init (GstAllocationParams *params);
-GST_EXPORT
+GST_API
GstAllocationParams *
gst_allocation_params_copy (const GstAllocationParams *params) G_GNUC_MALLOC;
-GST_EXPORT
+GST_API
void gst_allocation_params_free (GstAllocationParams *params);
/* allocating memory blocks */
-GST_EXPORT
+GST_API
GstMemory * gst_allocator_alloc (GstAllocator * allocator, gsize size,
GstAllocationParams *params);
-GST_EXPORT
+GST_API
void gst_allocator_free (GstAllocator * allocator, GstMemory *memory);
-GST_EXPORT
+GST_API
GstMemory * gst_memory_new_wrapped (GstMemoryFlags flags, gpointer data, gsize maxsize,
gsize offset, gsize size, gpointer user_data,
GDestroyNotify notify);