Change name from Configuration to Context

This commit is contained in:
Max Bruckner committed 2018-03-25 23:32:03 +02:00
1 parent 050f982608
commit 064eec8208
17 files changed
+540 -537

No files matched your search

+2 -2
View File
@@ -33,11 +33,11 @@ void reset(cJSON *item) {
}
if ((item->valuestring != NULL) && !(item->type & cJSON_IsReference))
{
global_configuration.allocators.deallocate(item->valuestring, global_configuration.userdata);
global_context.allocators.deallocate(item->valuestring, global_context.userdata);
}
if ((item->string != NULL) && !(item->type & cJSON_StringIsConst))
{
global_configuration.allocators.deallocate(item->string, global_configuration.userdata);
global_context.allocators.deallocate(item->string, global_context.userdata);
}
memset(item, 0, sizeof(cJSON));