summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-10 18:06:56 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-10 18:06:56 +0100
commit4126b7fabab7666a9778da0aecaf650a3f8f2f9e (patch)
treee66d5ca040e57f5a72cb823304832185ac071b9b
parent6c268571906c799bcad59537721f82b32ab780be (diff)
eolian: fix C type serialization (handle undefined)
-rw-r--r--src/lib/eolian/database_type.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eolian/database_type.c b/src/lib/eolian/database_type.c
index bc153a0c7a..4c586c2ad1 100644
--- a/src/lib/eolian/database_type.c
+++ b/src/lib/eolian/database_type.c
@@ -99,6 +99,8 @@ database_type_to_str(const Eolian_Type *tp, Eina_Strbuf *buf, const char *name)
99 } 99 }
100 else if (tp->type == EOLIAN_TYPE_VOID) 100 else if (tp->type == EOLIAN_TYPE_VOID)
101 eina_strbuf_append(buf, "void"); 101 eina_strbuf_append(buf, "void");
102 else if (tp->type == EOLIAN_TYPE_UNDEFINED)
103 eina_strbuf_append(buf, "__undefined_type");
102 else 104 else
103 { 105 {
104 Eolian_Type *btp = tp->base_type; 106 Eolian_Type *btp = tp->base_type;