Searched refs:after_inserted (Results 1 – 1 of 1) sorted by relevance
2270 cJSON *after_inserted = NULL; in cJSON_InsertItemInArray() local2277 after_inserted = get_array_item(array, (size_t)which); in cJSON_InsertItemInArray()2278 if (after_inserted == NULL) in cJSON_InsertItemInArray()2283 if (after_inserted != array->child && after_inserted->prev == NULL) { in cJSON_InsertItemInArray()2288 newitem->next = after_inserted; in cJSON_InsertItemInArray()2289 newitem->prev = after_inserted->prev; in cJSON_InsertItemInArray()2290 after_inserted->prev = newitem; in cJSON_InsertItemInArray()2291 if (after_inserted == array->child) in cJSON_InsertItemInArray()