forked from enlightenment/efl
eolian: no need to concat name in this case
This commit is contained in:
parent
a9a7ed6c52
commit
901d1343fd
|
@ -103,12 +103,10 @@ _type_generate(const Eolian_Type *tp, Eina_Bool in_typedef, Eina_Bool full)
|
|||
case EOLIAN_TYPE_ENUM:
|
||||
{
|
||||
const Eolian_Enum_Type_Field *member;
|
||||
char *name = _concat_name(tp);
|
||||
char *name;
|
||||
if (!full)
|
||||
{
|
||||
free(name);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
name = _concat_name(tp);
|
||||
if (in_typedef)
|
||||
{
|
||||
eina_strbuf_append_printf(buf, "enum %s", name);
|
||||
|
|
Loading…
Reference in New Issue