playlist/soundcloud: fix coding style
This commit is contained in:
parent
73d917b76e
commit
4b7a418e28
@ -63,7 +63,8 @@ soundcloud_init(const config_param ¶m)
|
|||||||
* @return Constructed URL. Must be freed with g_free.
|
* @return Constructed URL. Must be freed with g_free.
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
soundcloud_resolve(const char* uri) {
|
soundcloud_resolve(const char* uri)
|
||||||
|
{
|
||||||
char *u, *ru;
|
char *u, *ru;
|
||||||
|
|
||||||
if (StringStartsWith(uri, "http://")) {
|
if (StringStartsWith(uri, "http://")) {
|
||||||
@ -109,7 +110,8 @@ struct parse_data {
|
|||||||
std::forward_list<SongPointer> songs;
|
std::forward_list<SongPointer> songs;
|
||||||
};
|
};
|
||||||
|
|
||||||
static int handle_integer(void *ctx,
|
static int
|
||||||
|
handle_integer(void *ctx,
|
||||||
long
|
long
|
||||||
#ifndef HAVE_YAJL1
|
#ifndef HAVE_YAJL1
|
||||||
long
|
long
|
||||||
@ -129,7 +131,8 @@ static int handle_integer(void *ctx,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int handle_string(void *ctx, const unsigned char* stringval,
|
static int
|
||||||
|
handle_string(void *ctx, const unsigned char* stringval,
|
||||||
#ifdef HAVE_YAJL1
|
#ifdef HAVE_YAJL1
|
||||||
unsigned int
|
unsigned int
|
||||||
#else
|
#else
|
||||||
@ -159,7 +162,8 @@ static int handle_string(void *ctx, const unsigned char* stringval,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int handle_mapkey(void *ctx, const unsigned char* stringval,
|
static int
|
||||||
|
handle_mapkey(void *ctx, const unsigned char* stringval,
|
||||||
#ifdef HAVE_YAJL1
|
#ifdef HAVE_YAJL1
|
||||||
unsigned int
|
unsigned int
|
||||||
#else
|
#else
|
||||||
@ -182,7 +186,8 @@ static int handle_mapkey(void *ctx, const unsigned char* stringval,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int handle_start_map(void *ctx)
|
static int
|
||||||
|
handle_start_map(void *ctx)
|
||||||
{
|
{
|
||||||
struct parse_data *data = (struct parse_data *) ctx;
|
struct parse_data *data = (struct parse_data *) ctx;
|
||||||
|
|
||||||
@ -192,7 +197,8 @@ static int handle_start_map(void *ctx)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int handle_end_map(void *ctx)
|
static int
|
||||||
|
handle_end_map(void *ctx)
|
||||||
{
|
{
|
||||||
struct parse_data *data = (struct parse_data *) ctx;
|
struct parse_data *data = (struct parse_data *) ctx;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user