summaryrefslogtreecommitdiff
path: root/src/bin/eolian/eo_generator.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-06-30 21:29:50 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-30 21:29:50 +0100
commit14a85859c529b31bcd9ca3f791244c47c8ec8e09 (patch)
tree1633ea4af20141e8a79a84afc12a5f6cf7ec01c9 /src/bin/eolian/eo_generator.c
parentc05493b480b23cf45d2b8de9fe50070939519abb (diff)
eolian: _CLASS -> _CLASS/INTERFACE/MIXIN
Diffstat (limited to 'src/bin/eolian/eo_generator.c')
-rw-r--r--src/bin/eolian/eo_generator.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 5f30ff5c02..360db16a82 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -48,14 +48,14 @@ static const Eo_Class_Description _@#class_class_desc = {\n\
48 @#dtor_name\n\ 48 @#dtor_name\n\
49};\n\ 49};\n\
50\n\ 50\n\
51EO_DEFINE_CLASS(@#class_class_get, &_@#class_class_desc, @#list_inheritNULL);\ 51EO_DEFINE_CLASS(@#class_@#classtype_get, &_@#class_class_desc, @#list_inheritNULL);\
52"; 52";
53 53
54static const char 54static const char
55tmpl_eo_obj_header[] = "\ 55tmpl_eo_obj_header[] = "\
56#define @#CLASS_CLASS @#class_class_get()\n\ 56#define @#CLASS_@#CLASSTYPE @#class_@#classtype_get()\n\
57\n\ 57\n\
58const Eo_Class *@#class_class_get(void) EINA_CONST;\n\ 58const Eo_Class *@#class_@#classtype_get(void) EINA_CONST;\n\
59\n\ 59\n\
60"; 60";
61 61
@@ -761,7 +761,8 @@ eo_source_end_generate(const Eolian_Class class, Eina_Strbuf *buf)
761 Eolian_Class inherit_class = eolian_class_find_by_name(inherit_name); 761 Eolian_Class inherit_class = eolian_class_find_by_name(inherit_name);
762 _eolian_class_vars inherit_env; 762 _eolian_class_vars inherit_env;
763 _class_env_create(inherit_class, NULL, &inherit_env); 763 _class_env_create(inherit_class, NULL, &inherit_env);
764 eina_strbuf_append_printf(tmpbuf, "%s_CLASS, ", inherit_env.upper_classname); 764 eina_strbuf_append_printf(tmpbuf, "%s_%s, ", inherit_env.upper_classname,
765 inherit_env.upper_classtype);
765 } 766 }
766 767
767 if (eina_strbuf_length_get(tmpbuf) == 0) eina_strbuf_append(tmpbuf, "NULL, "); 768 if (eina_strbuf_length_get(tmpbuf) == 0) eina_strbuf_append(tmpbuf, "NULL, ");