Commit abab1b1d authored by Edward Hervey's avatar Edward Hervey

gstmemory: Register a GBoxed GType

Allows using it from g-i
parent deb8e74c
......@@ -61,6 +61,8 @@
#include "gst_private.h"
#include "gstmemory.h"
G_DEFINE_BOXED_TYPE (GstMemory, gst_memory, (GBoxedCopyFunc) gst_memory_ref,
(GBoxedFreeFunc) gst_memory_unref);
/* buffer alignment in bytes - 1
* an alignment of 7 would be the same as malloc() guarantees
......
......@@ -29,6 +29,9 @@
G_BEGIN_DECLS
#define GST_TYPE_MEMORY (gst_memory_get_type())
GType gst_memory_get_type(void);
typedef struct _GstMemory GstMemory;
typedef struct _GstMemoryInfo GstMemoryInfo;
typedef struct _GstAllocator GstAllocator;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment