mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
allocators: mark symbols explicitly for export with GST_EXPORT
This commit is contained in:
parent
05cc341844
commit
d6a12c0a8f
2 changed files with 14 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue