Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luzpaz
gstreamer
Commits
f8c6cd19
Commit
f8c6cd19
authored
Jan 30, 2012
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory: add boxed GType for the allocator
parent
af2fc026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gst/gstmemory.c
gst/gstmemory.c
+3
-0
gst/gstmemory.h
gst/gstmemory.h
+3
-0
No files found.
gst/gstmemory.c
View file @
f8c6cd19
...
...
@@ -73,6 +73,9 @@
G_DEFINE_BOXED_TYPE
(
GstMemory
,
gst_memory
,
(
GBoxedCopyFunc
)
gst_memory_ref
,
(
GBoxedFreeFunc
)
gst_memory_unref
);
G_DEFINE_BOXED_TYPE
(
GstAllocator
,
gst_allocator
,
(
GBoxedCopyFunc
)
gst_allocator_ref
,
(
GBoxedFreeFunc
)
gst_allocator_unref
);
/**
* gst_memory_alignment:
*
...
...
gst/gstmemory.h
View file @
f8c6cd19
...
...
@@ -32,6 +32,9 @@ G_BEGIN_DECLS
#define GST_TYPE_MEMORY (gst_memory_get_type())
GType
gst_memory_get_type
(
void
);
#define GST_TYPE_ALLOCATOR (gst_allocator_get_type())
GType
gst_allocator_get_type
(
void
);
typedef
struct
_GstMemory
GstMemory
;
typedef
struct
_GstMemoryInfo
GstMemoryInfo
;
typedef
struct
_GstAllocator
GstAllocator
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment