summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-29 11:15:28 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-29 11:15:28 +0100
commit05ea7c7b551a6d590bbb2d1d34ad4909f607f5b1 (patch)
treeff2457804dbcc6326a7c48230b7f54009845ec97 /src/bin
parent934cfb621cf19bdce0ead54de3910464564c7666 (diff)
eolian/generator: don't generate extern types
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eolian/types_generator.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/eolian/types_generator.c b/src/bin/eolian/types_generator.c
index 7e6e483406..96811b7eaa 100644
--- a/src/bin/eolian/types_generator.c
+++ b/src/bin/eolian/types_generator.c
@@ -165,6 +165,8 @@ types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full)
165 Eina_Iterator *itr = eolian_type_aliases_get_by_file(eo_filename); 165 Eina_Iterator *itr = eolian_type_aliases_get_by_file(eo_filename);
166 EINA_ITERATOR_FOREACH(itr, tp) 166 EINA_ITERATOR_FOREACH(itr, tp)
167 { 167 {
168 if (eolian_type_is_extern(tp))
169 continue;
168 Eina_Strbuf *type_buf = _type_generate(tp, full); 170 Eina_Strbuf *type_buf = _type_generate(tp, full);
169 if (type_buf) 171 if (type_buf)
170 { 172 {
@@ -179,6 +181,8 @@ types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full)
179 itr = eolian_type_structs_get_by_file(eo_filename); 181 itr = eolian_type_structs_get_by_file(eo_filename);
180 EINA_ITERATOR_FOREACH(itr, tp) 182 EINA_ITERATOR_FOREACH(itr, tp)
181 { 183 {
184 if (eolian_type_is_extern(tp))
185 continue;
182 Eina_Strbuf *type_buf = _type_generate(tp, full); 186 Eina_Strbuf *type_buf = _type_generate(tp, full);
183 if (type_buf) 187 if (type_buf)
184 { 188 {
@@ -196,6 +200,8 @@ types_header_generate(const char *eo_filename, Eina_Strbuf *buf, Eina_Bool full)
196 itr = eolian_type_enums_get_by_file(eo_filename); 200 itr = eolian_type_enums_get_by_file(eo_filename);
197 EINA_ITERATOR_FOREACH(itr, tp) 201 EINA_ITERATOR_FOREACH(itr, tp)
198 { 202 {
203 if (eolian_type_is_extern(tp))
204 continue;
199 Eina_Strbuf *type_buf = _type_generate(tp, EINA_TRUE); 205 Eina_Strbuf *type_buf = _type_generate(tp, EINA_TRUE);
200 if (type_buf) 206 if (type_buf)
201 { 207 {