eet: initialize descriptor class' func.type_get and func.type_set

Summary:
Descriptor class' func.type_get and func.type_set are initialized with
NULL.

Change-Id: I94526c2421c1fa2924a705cd2341130905df1da0

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12279
This commit is contained in:
Jaehyun Cho 2021-05-24 17:50:03 +09:00
parent e2d6691d52
commit 3db14bf8dd
1 changed files with 2 additions and 0 deletions

View File

@ -1945,6 +1945,8 @@ eet_eina_stream_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc,
eddc->func.hash_foreach = (void (*)(void *, int (*)(void *, const char *, void *, void *), void *))_eet_eina_hash_foreach;
eddc->func.hash_add = (void *(*)(void *, const char *, void *))_eet_eina_hash_add_alloc;
eddc->func.hash_free = (void (*)(void *))_eet_eina_hash_free;
eddc->func.type_get = NULL;
eddc->func.type_set = NULL;
/* This will cause an ABI incompatibility */
eddc->func.array_alloc = _eet_mem_alloc;