eolian: add free functions for the array and future.

It appears that NULL is not really usefull here, as this will lead to
errors later on. (void) will force the free function to just do nothing
and be later converted to a NOP.

Reviewed-by: Daniel Kolesa <daniel@octaforge.org>
Differential Revision: https://phab.enlightenment.org/D7629
This commit is contained in:
Marcel Hollerbach 2019-01-15 00:04:15 +01:00
parent 77cfb1299c
commit 2b1285c9db
1 changed files with 2 additions and 2 deletions

View File

@ -184,9 +184,9 @@ _validate_typedecl(Validate_State *vals, Eolian_Typedecl *tp)
static const char * const eo_complex_frees[] =
{
"eina_accessor_free", "eina_array_free", NULL, /* future */
"eina_accessor_free", "eina_array_free", "(void)", /* future */
"eina_iterator_free", "eina_hash_free",
"eina_list_free", "eina_inarray_free", NULL
"eina_list_free", "eina_inarray_free", "(void)"
};
static const char *eo_obj_free = "efl_del";