mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
reformatting: cJSONUtils_GeneratePatches
This commit is contained in:
parent
8879ed5dbc
commit
ec9d1cfedb
@ -603,14 +603,14 @@ static void cJSONUtils_CompareToPatch(cJSON *patches, const char *path, cJSON *f
|
||||
}
|
||||
}
|
||||
|
||||
cJSON* cJSONUtils_GeneratePatches(cJSON *from,cJSON *to)
|
||||
cJSON* cJSONUtils_GeneratePatches(cJSON *from, cJSON *to)
|
||||
{
|
||||
cJSON *patches=cJSON_CreateArray();
|
||||
cJSONUtils_CompareToPatch(patches,"",from,to);
|
||||
cJSON *patches = cJSON_CreateArray();
|
||||
cJSONUtils_CompareToPatch(patches, "", from, to);
|
||||
|
||||
return patches;
|
||||
}
|
||||
|
||||
|
||||
static cJSON *cJSONUtils_SortList(cJSON *list)
|
||||
{
|
||||
cJSON *first=list,*second=list,*ptr=list;
|
||||
|
Loading…
Reference in New Issue
Block a user