mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
reformatting: print_string
This commit is contained in:
parent
c71cd6cc1c
commit
7423692586
7
cJSON.c
7
cJSON.c
@ -759,8 +759,11 @@ static char *print_string_ptr(const char *str, printbuffer *p)
|
||||
return out;
|
||||
}
|
||||
|
||||
/* Invote print_string_ptr (which is useful) on an item. */
|
||||
static char *print_string(cJSON *item,printbuffer *p) {return print_string_ptr(item->valuestring,p);}
|
||||
/* Invoke print_string_ptr (which is useful) on an item. */
|
||||
static char *print_string(cJSON *item, printbuffer *p)
|
||||
{
|
||||
return print_string_ptr(item->valuestring, p);
|
||||
}
|
||||
|
||||
/* Predeclare these prototypes. */
|
||||
static const char *parse_value(cJSON *item,const char *value,const char **ep);
|
||||
|
Loading…
Reference in New Issue
Block a user