mirror of
https://github.com/DaveGamble/cJSON
synced 2025-01-27 09:43:42 +00: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();
|
cJSON *patches = cJSON_CreateArray();
|
||||||
cJSONUtils_CompareToPatch(patches,"",from,to);
|
cJSONUtils_CompareToPatch(patches, "", from, to);
|
||||||
return patches;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
return patches;
|
||||||
|
}
|
||||||
|
|
||||||
static cJSON *cJSONUtils_SortList(cJSON *list)
|
static cJSON *cJSONUtils_SortList(cJSON *list)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user