reformatting: cJSON_AddPatchToArray

This commit is contained in:
Max Bruckner 2016-10-17 17:01:52 +07:00
parent d6a6abeca0
commit 52e53acfc3
1 changed files with 4 additions and 1 deletions

View File

@ -504,7 +504,10 @@ static void cJSONUtils_GeneratePatch(cJSON *patches, const char *op, const char
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)
{