Searched refs:cJSON_StringIsConst (Results 1 – 2 of 2) sorted by relevance
195 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in cJSON_Delete()1806 item->type &= ~cJSON_StringIsConst; in cJSON_AddItemToObject()1823 if (!(item->type & cJSON_StringIsConst) && item->string) in cJSON_AddItemToObjectCS()1828 item->type |= cJSON_StringIsConst; in cJSON_AddItemToObjectCS()2303 …newitem->string = (item->type&cJSON_StringIsConst) ? item->string : (char*)cJSON_strdup((unsigned … in cJSON_Duplicate()
55 #define cJSON_StringIsConst 512 macro