mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
refactor cJSONUtils_SortObject
This commit is contained in:
@ -1140,7 +1140,7 @@ static cJSON *cJSONUtils_SortList(cJSON *list)
|
||||
return result;
|
||||
}
|
||||
|
||||
CJSON_PUBLIC(void) cJSONUtils_SortObject(cJSON *object)
|
||||
CJSON_PUBLIC(void) cJSONUtils_SortObject(cJSON * const object)
|
||||
{
|
||||
object->child = cJSONUtils_SortList(object->child);
|
||||
}
|
||||
|
Reference in New Issue
Block a user