Searched refs:cJSON_StringIsConst (Results 1 – 2 of 2) sorted by relevance
224 …if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) global_hooks.deallocate(item->s… in cJSON_Delete()1557 new_type = item->type | cJSON_StringIsConst; in add_item_to_object()1562 new_type = item->type & ~cJSON_StringIsConst; in add_item_to_object()1565 …if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) hooks->deallocate(item->string); in add_item_to_object()1804 …if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL)) cJSON_free(replac… in replace_item_in_object()1808 replacement->type &= ~cJSON_StringIsConst; in replace_item_in_object()2098 …newitem->string = (item->type & cJSON_StringIsConst) ? item->string : (char *)cJSON_strdup((unsign… in cJSON_Duplicate()
98 #define cJSON_StringIsConst 512 macro