forked from enlightenment/efl
eolian: support for class type in c_type_get
This commit is contained in:
parent
6aa99c0026
commit
5da69ddbf7
|
@ -155,7 +155,7 @@ database_type_to_str(const Eolian_Type *tp, Eina_Strbuf *buf, const char *name)
|
||||||
{
|
{
|
||||||
eina_strbuf_append(buf, "const ");
|
eina_strbuf_append(buf, "const ");
|
||||||
}
|
}
|
||||||
if (tp->type == EOLIAN_TYPE_REGULAR || tp->type == EOLIAN_TYPE_CLASS)
|
if (tp->type == EOLIAN_TYPE_REGULAR)
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
const char *sp;
|
const char *sp;
|
||||||
|
@ -173,6 +173,8 @@ database_type_to_str(const Eolian_Type *tp, Eina_Strbuf *buf, const char *name)
|
||||||
}
|
}
|
||||||
else if (tp->type == EOLIAN_TYPE_VOID)
|
else if (tp->type == EOLIAN_TYPE_VOID)
|
||||||
eina_strbuf_append(buf, "void");
|
eina_strbuf_append(buf, "void");
|
||||||
|
else if (tp->type == EOLIAN_TYPE_CLASS)
|
||||||
|
eina_strbuf_append(buf, "Eo");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Eolian_Type *btp = tp->base_type;
|
Eolian_Type *btp = tp->base_type;
|
||||||
|
|
Loading…
Reference in New Issue