diff options
| author | Mark Young <marky@lunarg.com> | 2016-06-29 18:33:53 -0600 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2016-06-29 18:45:22 -0600 |
| commit | 34b0129554078322aef9ec03eb1733fc9c825f7b (patch) | |
| tree | 72060516b943110cc89e3692f9f0d2d00c442868 /loader/cJSON.h | |
| parent | 9a78abed622bbc78c1431c6663f5895099ca270e (diff) | |
| download | usermoji-34b0129554078322aef9ec03eb1733fc9c825f7b.tar.xz | |
loader: GH370 - re-enable allocator usage
Re-enable reverted changes done in commit
d6f491b88eaf11f6953c02638d079f6a76806658. But also include
fixes for the Linux and Windows release runs.
Change-Id: I7644bb305faab068b3229eb9c1d8a67b052af165
Diffstat (limited to 'loader/cJSON.h')
| -rw-r--r-- | loader/cJSON.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/cJSON.h b/loader/cJSON.h index c6a57be5..cab30515 100644 --- a/loader/cJSON.h +++ b/loader/cJSON.h @@ -84,6 +84,8 @@ extern char *cJSON_PrintUnformatted(cJSON *item); extern char *cJSON_PrintBuffered(cJSON *item, int prebuffer, int fmt); /* Delete a cJSON entity and all subentities. */ extern void cJSON_Delete(cJSON *c); +/* Delete an item allocated inside the JSON parser*/ +extern void cJSON_Free(void *p); /* Returns the number of items in an array (or object). */ extern int cJSON_GetArraySize(cJSON *array); |
