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,13 +603,13 @@ 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);
|
||||
return patches;
|
||||
}
|
||||
cJSON *patches = cJSON_CreateArray();
|
||||
cJSONUtils_CompareToPatch(patches, "", from, to);
|
||||
|
||||
return patches;
|
||||
}
|
||||
|
||||
static cJSON *cJSONUtils_SortList(cJSON *list)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user