summaryrefslogtreecommitdiff
path: root/src/bin/eolian/types_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-10 16:42:12 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-10 16:56:37 +0100
commit660e23fd75b40f09dfaba099b25121bf9d7e834e (patch)
tree07268db1b602dc43790a0c66aca347df50463a4f /src/bin/eolian/types_generator.c
parent7ea7f0b68ab1314fd893db4281c4502fb6a654d9 (diff)
eolian: add new __undefined_type builtin to silence warnings
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/types_generator.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/eolian/types_generator.c b/src/bin/eolian/types_generator.c
index 3bdd5d3981..5979aa9da2 100644
--- a/src/bin/eolian/types_generator.c
+++ b/src/bin/eolian/types_generator.c
@@ -217,6 +217,14 @@ types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full)
217 if (!tp || eolian_type_is_extern(tp)) 217 if (!tp || eolian_type_is_extern(tp))
218 continue; 218 continue;
219 219
220 if (eolian_type_type_get(tp) == EOLIAN_TYPE_ALIAS)
221 {
222 const Eolian_Type *btp = eolian_type_base_type_get(tp);
223 if (eolian_type_type_get(btp) == EOLIAN_TYPE_REGULAR)
224 if (!strcmp(eolian_type_full_name_get(btp), "__undefined_type"))
225 continue;
226 }
227
220 Eina_Strbuf *tbuf = _type_generate(tp, full); 228 Eina_Strbuf *tbuf = _type_generate(tp, full);
221 if (tbuf) 229 if (tbuf)
222 { 230 {