summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-22 14:40:01 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-22 14:40:01 +0100
commitf35b5e35df68acd1acb771b57dd3524f1cf49095 (patch)
treedda89bf72f51bba5ba06a8d142937f8847f6d02c /src/bin/eolian
parent19d8209266321081d2e00406413527e4e0023ad3 (diff)
eolian: guard eo types in legacy headers
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/eolian/main.c b/src/bin/eolian/main.c
index fed76e94b6..0873182117 100644
--- a/src/bin/eolian/main.c
+++ b/src/bin/eolian/main.c
@@ -226,6 +226,10 @@ _generate_legacy_header_file(char *filename, const char *eo_filename)
226 ERR("Failed to generate types of file %s", eo_filename); 226 ERR("Failed to generate types of file %s", eo_filename);
227 goto end; 227 goto end;
228 } 228 }
229 else
230 {
231 buffer = _include_guard_enclose(eo_filename, "TYPES", buffer);
232 }
229 233
230 Eina_Strbuf *ctbuf = eina_strbuf_new(); 234 Eina_Strbuf *ctbuf = eina_strbuf_new();
231 if (types_class_typedef_generate(eo_filename, ctbuf)) 235 if (types_class_typedef_generate(eo_filename, ctbuf))