eet: enable more debug information regarding memory allocation.

This commit is contained in:
Cedric BAIL 2013-04-05 12:20:37 +09:00
parent 5465eb3acc
commit 359d7034ba
1 changed files with 3 additions and 0 deletions

View File

@ -943,6 +943,9 @@ eet_internal_read2(Eet_File *ef)
if (eet_test_close(!ef->ed, ef))
return NULL;
INF("loading dictionnary for '%s' with %lu entries of size %i",
ef->path, num_dictionary_entries, sizeof(Eet_String));
ef->ed->all = calloc(1, num_dictionary_entries * sizeof(Eet_String));
if (eet_test_close(!ef->ed->all, ef))
return NULL;