MCPcopy Create free account
hub / github.com/Wassimulator/CactusViewer / cJSON_AddItemToArray

Function cJSON_AddItemToArray

src/cJSON.c:1990–1993  ·  view source on GitHub ↗

Add item to array/object. */

Source from the content-addressed store, hash-verified

1988
1989/* Add item to array/object. */
1990CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToArray(cJSON *array, cJSON *item)
1991{
1992 return add_item_to_array(array, item);
1993}
1994
1995#if defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))))
1996 #pragma GCC diagnostic push

Callers 2

save_settingsFunction · 0.85
cJSON.hFile · 0.85

Calls 1

add_item_to_arrayFunction · 0.85

Tested by

no test coverage detected