mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-27 14:14:07 +08:00
reformatting: Predeclared print prototypes
This commit is contained in:
parent
7423692586
commit
d42febea50
12
cJSON.c
12
cJSON.c
@ -766,12 +766,12 @@ static char *print_string(cJSON *item, printbuffer *p)
|
||||
}
|
||||
|
||||
/* Predeclare these prototypes. */
|
||||
static const char *parse_value(cJSON *item,const char *value,const char **ep);
|
||||
static char *print_value(cJSON *item,int depth,int fmt,printbuffer *p);
|
||||
static const char *parse_array(cJSON *item,const char *value,const char **ep);
|
||||
static char *print_array(cJSON *item,int depth,int fmt,printbuffer *p);
|
||||
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 const char *parse_value(cJSON *item, const char *value, const char **ep);
|
||||
static char *print_value(cJSON *item, int depth, int fmt, printbuffer *p);
|
||||
static const char *parse_array(cJSON *item, const char *value, const char **ep);
|
||||
static char *print_array(cJSON *item, int depth, int fmt, printbuffer *p);
|
||||
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);
|
||||
|
||||
/* Utility to jump whitespace and cr/lf */
|
||||
static const char *skip(const char *in) {while (in && *in && (unsigned char)*in<=32) in++; return in;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user