MCPcopy Create free account
hub / github.com/Netis/cloud-probe / cJSON_AddItemToArray

Function cJSON_AddItemToArray

cpworker/src/cJSON/cJSON.c:2008–2011  ·  view source on GitHub ↗

Add item to array/object. */

Source from the content-addressed store, hash-verified

2006
2007/* Add item to array/object. */
2008CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToArray(cJSON *array, cJSON *item)
2009{
2010 return add_item_to_array(array, item);
2011}
2012
2013#if defined(__clang__) || (defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))))
2014 #pragma GCC diagnostic push

Callers 4

insert_item_in_arrayFunction · 0.85
apply_patchFunction · 0.85
compose_patchFunction · 0.85
cJSON.hFile · 0.85

Calls 1

add_item_to_arrayFunction · 0.85

Tested by

no test coverage detected