Searched refs:after_inserted (Results 1 – 1 of 1) sorted by relevance
2266 cJSON *after_inserted = NULL; in cJSON_InsertItemInArray() local2273 after_inserted = get_array_item(array, (size_t)which); in cJSON_InsertItemInArray()2274 if (after_inserted == NULL) in cJSON_InsertItemInArray()2279 if (after_inserted != array->child && after_inserted->prev == NULL) { in cJSON_InsertItemInArray()2284 newitem->next = after_inserted; in cJSON_InsertItemInArray()2285 newitem->prev = after_inserted->prev; in cJSON_InsertItemInArray()2286 after_inserted->prev = newitem; in cJSON_InsertItemInArray()2287 if (after_inserted == array->child) in cJSON_InsertItemInArray()