summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-08-11 16:24:15 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-08-11 16:24:15 -0300
commitf4a90dcde25452c95c3d1ac3cac9c904ceb25eba (patch)
tree470c9dd42e09ebe4264ae6ffd3c7f001be611f13 /src/lib/eolian_cxx
parentf0400e604c0eabd055d6edfb3268d9c99ca72f6d (diff)
eolian-cxx: Fix compilation break from changes in Eo nomenclature
Rename of classes and function calls in generated code and C++ headers
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/base_class_definition.hpp4
-rw-r--r--src/lib/eolian_cxx/grammar/class_definition.hpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eolian_cxx/grammar/base_class_definition.hpp b/src/lib/eolian_cxx/grammar/base_class_definition.hpp
index c5a22ca1cd..bb5adde1cc 100644
--- a/src/lib/eolian_cxx/grammar/base_class_definition.hpp
+++ b/src/lib/eolian_cxx/grammar/base_class_definition.hpp
@@ -36,7 +36,7 @@ struct base_class_definition_generator
36 if(!as_generator(*(scope_tab << function_declaration)) 36 if(!as_generator(*(scope_tab << function_declaration))
37 .generate(sink, cls.functions, context)) return false; 37 .generate(sink, cls.functions, context)) return false;
38 38
39 // static Eo_Class const* _eo_class(); 39 // static Efl_Class const* _eo_class();
40 std::string suffix; 40 std::string suffix;
41 switch(cls.type) 41 switch(cls.type)
42 { 42 {
@@ -54,7 +54,7 @@ struct base_class_definition_generator
54 54
55 if(!as_generator 55 if(!as_generator
56 ( 56 (
57 scope_tab << "static Eo_Class const* _eo_class()\n" 57 scope_tab << "static Efl_Class const* _eo_class()\n"
58 << scope_tab << "{\n" 58 << scope_tab << "{\n"
59 << scope_tab << scope_tab << "return " 59 << scope_tab << scope_tab << "return "
60 ).generate(sink, attributes::unused, context)) return false; 60 ).generate(sink, attributes::unused, context)) return false;
diff --git a/src/lib/eolian_cxx/grammar/class_definition.hpp b/src/lib/eolian_cxx/grammar/class_definition.hpp
index 8c451bc9ef..9442e06813 100644
--- a/src/lib/eolian_cxx/grammar/class_definition.hpp
+++ b/src/lib/eolian_cxx/grammar/class_definition.hpp
@@ -77,7 +77,7 @@ struct class_definition_generator
77 if(!as_generator(*(scope_tab << function_declaration)) 77 if(!as_generator(*(scope_tab << function_declaration))
78 .generate(sink, cls.functions, context)) return false; 78 .generate(sink, cls.functions, context)) return false;
79 79
80 // static Eo_Class const* _eo_class(); 80 // static Efl_Class const* _eo_class();
81 std::string suffix; 81 std::string suffix;
82 switch(cls.type) 82 switch(cls.type)
83 { 83 {
@@ -95,7 +95,7 @@ struct class_definition_generator
95 95
96 if(!as_generator 96 if(!as_generator
97 ( 97 (
98 scope_tab << "static Eo_Class const* _eo_class()\n" 98 scope_tab << "static Efl_Class const* _eo_class()\n"
99 << scope_tab << "{\n" 99 << scope_tab << "{\n"
100 << scope_tab << scope_tab << "return " 100 << scope_tab << scope_tab << "return "
101 ).generate(sink, attributes::unused, context)) return false; 101 ).generate(sink, attributes::unused, context)) return false;
@@ -133,7 +133,7 @@ struct class_definition_generator
133 *attribute_reorder<1, 2, 0, 1> 133 *attribute_reorder<1, 2, 0, 1>
134 ((scope_tab << "static struct " << string_replace(',', '_') << "_event\n" 134 ((scope_tab << "static struct " << string_replace(',', '_') << "_event\n"
135 << scope_tab << "{\n" 135 << scope_tab << "{\n"
136 << scope_tab << scope_tab << "static Eo_Event_Description const* description()\n" 136 << scope_tab << scope_tab << "static Efl_Event_Description const* description()\n"
137 << scope_tab << scope_tab << "{ return " << string << "; }\n" 137 << scope_tab << scope_tab << "{ return " << string << "; }\n"
138 << scope_tab << scope_tab << "typedef " 138 << scope_tab << scope_tab << "typedef "
139 << (attribute_conditional([] (eina::optional<attributes::type_def> t) { return !!t; }) 139 << (attribute_conditional([] (eina::optional<attributes::type_def> t) { return !!t; })