| 344 | char *cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0,0);} |
| 345 | |
| 346 | char *cJSON_PrintBuffered(cJSON *item,int prebuffer,int fmt) |
| 347 | { |
| 348 | printbuffer p; |
| 349 | p.buffer=(char*)cJSON_malloc(prebuffer); |
| 350 | p.length=prebuffer; |
| 351 | p.offset=0; |
| 352 | return print_value(item,0,fmt,&p); |
| 353 | return p.buffer; |
| 354 | } |
| 355 | |
| 356 | |
| 357 | /* Parser core - when encountering text, process appropriately. */ |
nothing calls this directly
no test coverage detected