mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
reformatting: cJSON_AddPatchToArray
This commit is contained in:
parent
d6a6abeca0
commit
52e53acfc3
@ -504,7 +504,10 @@ static void cJSONUtils_GeneratePatch(cJSON *patches, const char *op, const char
|
|||||||
cJSON_AddItemToArray(patches, patch);
|
cJSON_AddItemToArray(patches, patch);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cJSONUtils_AddPatchToArray(cJSON *array,const char *op,const char *path,cJSON *val) {cJSONUtils_GeneratePatch(array,op,path,0,val);}
|
void cJSONUtils_AddPatchToArray(cJSON *array, const char *op, const char *path, cJSON *val)
|
||||||
|
{
|
||||||
|
cJSONUtils_GeneratePatch(array, op, path, 0, val);
|
||||||
|
}
|
||||||
|
|
||||||
static void cJSONUtils_CompareToPatch(cJSON *patches,const char *path,cJSON *from,cJSON *to)
|
static void cJSONUtils_CompareToPatch(cJSON *patches,const char *path,cJSON *from,cJSON *to)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user