mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
reformatting: skip
This commit is contained in:
parent
d42febea50
commit
f1dd51bfb5
10
cJSON.c
10
cJSON.c
@ -774,7 +774,15 @@ static const char *parse_object(cJSON *item, const char *value, const char **ep)
|
|||||||
static char *print_object(cJSON *item, int depth, int fmt, printbuffer *p);
|
static char *print_object(cJSON *item, int depth, int fmt, printbuffer *p);
|
||||||
|
|
||||||
/* Utility to jump whitespace and cr/lf */
|
/* Utility to jump whitespace and cr/lf */
|
||||||
static const char *skip(const char *in) {while (in && *in && (unsigned char)*in<=32) in++; return in;}
|
static const char *skip(const char *in)
|
||||||
|
{
|
||||||
|
while (in && *in && ((unsigned char)*in<=32))
|
||||||
|
{
|
||||||
|
in++;
|
||||||
|
}
|
||||||
|
|
||||||
|
return in;
|
||||||
|
}
|
||||||
|
|
||||||
/* Parse an object - create a new root, and populate. */
|
/* Parse an object - create a new root, and populate. */
|
||||||
cJSON *cJSON_ParseWithOpts(const char *value,const char **return_parse_end,int require_null_terminated)
|
cJSON *cJSON_ParseWithOpts(const char *value,const char **return_parse_end,int require_null_terminated)
|
||||||
|
Loading…
Reference in New Issue
Block a user