Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-gpu
Commits
3ad014c3
Commit
3ad014c3
authored
Jan 23, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a doubly-linked list for object tree
parent
5e04d7d0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
117 deletions
+91
-117
src/libvlc.h
src/libvlc.h
+8
-4
src/misc/objects.c
src/misc/objects.c
+83
-113
No files found.
src/libvlc.h
View file @
3ad014c3
...
...
@@ -155,7 +155,9 @@ module_t *module_find_by_shortcut (const char *psz_shortcut);
/**
* Private LibVLC data for each object.
*/
typedef
struct
vlc_object_internals_t
typedef
struct
vlc_object_internals
vlc_object_internals_t
;
struct
vlc_object_internals
{
int
i_object_type
;
/* Object type, deprecated */
char
*
psz_name
;
/* given name */
...
...
@@ -178,9 +180,10 @@ typedef struct vlc_object_internals_t
vlc_destructor_t
pf_destructor
;
/* Objects tree structure */
vlc_object_t
**
pp_children
;
int
i_children
;
}
vlc_object_internals_t
;
vlc_object_internals_t
*
next
;
/* next sibling */
vlc_object_internals_t
*
prev
;
/* previous sibling */
vlc_object_internals_t
*
first
;
/* first child */
};
#define ZOOM_SECTION N_("Zoom")
#define ZOOM_QUARTER_KEY_TEXT N_("1:4 Quarter")
...
...
@@ -189,6 +192,7 @@ typedef struct vlc_object_internals_t
#define ZOOM_DOUBLE_KEY_TEXT N_("2:1 Double")
#define vlc_internals( obj ) (((vlc_object_internals_t*)(VLC_OBJECT(obj)))-1)
#define vlc_externals( priv ) ((vlc_object_t *)((priv) + 1))
typedef
struct
sap_handler_t
sap_handler_t
;
...
...
src/misc/objects.c
View file @
3ad014c3
This diff is collapsed.
Click to expand it.
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