diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2014-07-30 16:38:23 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2014-08-04 16:29:13 +0100 |
commit | 7fd29fdcc7a7e63d8df6db3d8697e69d266ca0e1 (patch) | |
tree | 8be5aa5f2f0a277efa9f4b68ec5e8d8e0dd67358 | |
parent | be8b3295813576dd8ac161b0916499efa768f7b4 (diff) | |
download | efl-7fd29fdcc7a7e63d8df6db3d8697e69d266ca0e1.tar.gz |
eolian: support for class type in c_type_get
-rw-r--r-- | src/lib/eolian/database_type.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/eolian/database_type.c b/src/lib/eolian/database_type.c index cfb8bc7355..d3d2037213 100644 --- a/src/lib/eolian/database_type.c +++ b/src/lib/eolian/database_type.c @@ -155,7 +155,7 @@ database_type_to_str(const Eolian_Type *tp, Eina_Strbuf *buf, const char *name) { 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; 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) eina_strbuf_append(buf, "void"); + else if (tp->type == EOLIAN_TYPE_CLASS) + eina_strbuf_append(buf, "Eo"); else { Eolian_Type *btp = tp->base_type; |