* eet: fix version and trigger the right alloc path.

SVN revision: 51093
This commit is contained in:
Cedric BAIL 2010-08-13 17:12:08 +00:00
parent 6ccc46d500
commit ccc497b492
1 changed files with 2 additions and 2 deletions

View File

@ -1683,7 +1683,7 @@ eet_eina_stream_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc,
eddc->name = name;
eddc->size = size;
eddc->version = 1;
eddc->version = EET_DATA_DESCRIPTOR_CLASS_VERSION;
eddc->func.mem_alloc = _eet_mem_alloc;
eddc->func.mem_free = _eet_mem_free;
@ -1714,7 +1714,7 @@ eet_eina_file_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc,
if (!eet_eina_stream_data_descriptor_class_set(eddc, eddc_size, name, size))
return EINA_FALSE;
eddc->version = 2;
eddc->version = EET_DATA_DESCRIPTOR_CLASS_VERSION;
eddc->func.hash_add = (void * (*)(void *, const char *, void *))_eet_eina_hash_direct_add_alloc;
eddc->func.str_direct_alloc = _eet_str_direct_alloc;