Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
00df3862
Commit
00df3862
authored
Mar 29, 2017
by
Hugo Beauzée-Luyssen
Browse files
playlist: sort: remove tabs
parent
62449bef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/playlist/sort.c
View file @
00df3862
...
...
@@ -213,7 +213,7 @@ int playlist_RecursiveNodeSort( playlist_t *p_playlist, playlist_item_t *p_node,
*/
#define SORTFN( SORT, first, second ) static inline int proto_##SORT \
( const playlist_item_t *first, const playlist_item_t *second )
( const playlist_item_t *first, const playlist_item_t *second )
SORTFN
(
SORT_TRACK_NUMBER
,
first
,
second
)
{
...
...
@@ -358,14 +358,14 @@ SORTFN( SORT_URI, first, second )
#endif
#define DEF( s ) \
static int cmp_a_##s(const void *l,const void *r) \
{ return proto_##s(*(const playlist_item_t *const *)l, \
static int cmp_a_##s(const void *l,const void *r) \
{ return proto_##s(*(const playlist_item_t *const *)l, \
*(const playlist_item_t *const *)r); } \
static int cmp_d_##s(const void *l,const void *r) \
{ return -1*proto_##s(*(const playlist_item_t * const *)l, \
static int cmp_d_##s(const void *l,const void *r) \
{ return -1*proto_##s(*(const playlist_item_t * const *)l, \
*(const playlist_item_t * const *)r); }
VLC_DEFINE_SORT_FUNCTIONS
VLC_DEFINE_SORT_FUNCTIONS
#undef DEF
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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