Change name from Configuration to Context

This commit is contained in:
Max Bruckner
2018-02-03 16:45:10 +01:00
parent 464c9b544c
commit 3b0d37faf3
17 changed files with 540 additions and 537 deletions
+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));