eolian_gen: generate freefuncs for strbuf/binbuf

This commit is contained in:
Daniel Kolesa 2019-07-30 15:54:23 +02:00
parent a17d3300bd
commit 1530d0386c
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,10 @@ _free_func_get(const Eolian_Type *type)
return "eina_value_flush";
case EOLIAN_TYPE_BUILTIN_ANY_VALUE_PTR:
return "eina_value_free";
case EOLIAN_TYPE_BUILTIN_STRBUF:
return "eina_strbuf_free";
case EOLIAN_TYPE_BUILTIN_BINBUF:
return "eina_binbuf_free";
/* complex types */
case EOLIAN_TYPE_BUILTIN_ACCESSOR:
return "eina_accessor_free";