MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / cJSON_AddItemToArray

Function cJSON_AddItemToArray

framework/utils/cJSON.c:1874–1877  ·  view source on GitHub ↗

Add item to array/object. */

Source from the content-addressed store, hash-verified

1872
1873/* Add item to array/object. */
1874CJSON_PUBLIC(void) cJSON_AddItemToArray(cJSON *array, cJSON *item)
1875{
1876add_item_to_array(array, item);
1877}
1878
1879#if defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))))
1880#pragma GCC diagnostic push

Callers 3

addJSONMethod · 0.85
addInt64Method · 0.85
cJSON.hFile · 0.85

Calls 1

add_item_to_arrayFunction · 0.85

Tested by

no test coverage detected