mirror of
https://github.com/DaveGamble/cJSON.git
synced 2025-01-14 03:18:00 +08:00
reformatting: printbuffer
This commit is contained in:
parent
d5bd497636
commit
b53ce73709
7
cJSON.c
7
cJSON.c
@ -213,7 +213,12 @@ static int pow2gt (int x)
|
|||||||
return x + 1;
|
return x + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct {char *buffer; int length; int offset; } printbuffer;
|
typedef struct
|
||||||
|
{
|
||||||
|
char *buffer;
|
||||||
|
int length;
|
||||||
|
int offset;
|
||||||
|
} printbuffer;
|
||||||
|
|
||||||
static char* ensure(printbuffer *p,int needed)
|
static char* ensure(printbuffer *p,int needed)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user