allocators: mark symbols explicitly for export with GST_EXPORT

This commit is contained in:
Tim-Philipp Müller 2017-05-16 00:30:34 +01:00
parent 05cc341844
commit d6a12c0a8f
2 changed files with 14 additions and 2 deletions

View file

@ -95,14 +95,19 @@ struct _GstDmaBufAllocatorClass
};
GST_EXPORT
GType gst_dmabuf_allocator_get_type (void);
GST_EXPORT
GstAllocator * gst_dmabuf_allocator_new (void);
GST_EXPORT
GstMemory * gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size);
GST_EXPORT
gint gst_dmabuf_memory_get_fd (GstMemory * mem);
GST_EXPORT
gboolean gst_is_dmabuf_memory (GstMemory * mem);

View file

@ -76,13 +76,20 @@ struct _GstFdAllocatorClass
GstAllocatorClass parent_class;
};
GST_EXPORT
GType gst_fd_allocator_get_type (void);
GST_EXPORT
GstAllocator * gst_fd_allocator_new (void);
GST_EXPORT
GstMemory * gst_fd_allocator_alloc (GstAllocator * allocator, gint fd,
gsize size, GstFdMemoryFlags flags);
GST_EXPORT
gboolean gst_is_fd_memory (GstMemory *mem);
GST_EXPORT
gint gst_fd_memory_get_fd (GstMemory *mem);
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC