summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-12 16:28:28 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-12 16:28:28 +0100
commit1f4d919cf953547c4517cea7398e55cad7cf52c3 (patch)
tree743d42b947904efa376d2cff1f121383ac9896b8 /src/lib/eolian_cxx
parent35d9ef2dd261783f260606714f06006e6d7405ba (diff)
eolian: update type/var name APIs
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 11af82cd29..83e84abb54 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -369,12 +369,12 @@ inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* uni
369 for(efl::eina::iterator<const char> namespace_iterator( ::eolian_type_namespaces_get(eolian_type)) 369 for(efl::eina::iterator<const char> namespace_iterator( ::eolian_type_namespaces_get(eolian_type))
370 , namespace_last; namespace_iterator != namespace_last; ++namespace_iterator) 370 , namespace_last; namespace_iterator != namespace_last; ++namespace_iterator)
371 namespaces.push_back(&*namespace_iterator); 371 namespaces.push_back(&*namespace_iterator);
372 original_type = {regular_type_def{ ::eolian_type_name_get(eolian_type), {qualifiers(eolian_type), {}}, namespaces, type_type, is_undefined}}; 372 original_type = {regular_type_def{ ::eolian_type_short_name_get(eolian_type), {qualifiers(eolian_type), {}}, namespaces, type_type, is_undefined}};
373 } 373 }
374 else 374 else
375 { 375 {
376 complex_type_def complex 376 complex_type_def complex
377 {{::eolian_type_name_get(eolian_type), {qualifiers(eolian_type), {}}, {}}, {}}; 377 {{::eolian_type_short_name_get(eolian_type), {qualifiers(eolian_type), {}}, {}}, {}};
378 while (stp) 378 while (stp)
379 { 379 {
380 complex.subtypes.push_back({stp, unit, EOLIAN_C_TYPE_DEFAULT}); 380 complex.subtypes.push_back({stp, unit, EOLIAN_C_TYPE_DEFAULT});
@@ -1097,7 +1097,7 @@ struct enum_def
1097 { 1097 {
1098 this->namespaces.push_back((&*namespace_iterator)); 1098 this->namespaces.push_back((&*namespace_iterator));
1099 } 1099 }
1100 cxx_name = eolian_name = eolian_typedecl_name_get(enum_obj); 1100 cxx_name = eolian_name = eolian_typedecl_short_name_get(enum_obj);
1101 1101
1102 for (efl::eina::iterator<const Eolian_Enum_Type_Field> field_iterator(::eolian_typedecl_enum_fields_get(enum_obj)) 1102 for (efl::eina::iterator<const Eolian_Enum_Type_Field> field_iterator(::eolian_typedecl_enum_fields_get(enum_obj))
1103 , field_last; field_iterator != field_last; ++field_iterator) 1103 , field_last; field_iterator != field_last; ++field_iterator)
@@ -1143,7 +1143,7 @@ struct struct_def
1143 { 1143 {
1144 this->namespaces.push_back((&*namespace_iterator)); 1144 this->namespaces.push_back((&*namespace_iterator));
1145 } 1145 }
1146 cxx_name = eolian_name = eolian_typedecl_name_get(struct_obj); 1146 cxx_name = eolian_name = eolian_typedecl_short_name_get(struct_obj);
1147 1147
1148 for(efl::eina::iterator<const Eolian_Struct_Type_Field> field_iterator(::eolian_typedecl_struct_fields_get(struct_obj)) 1148 for(efl::eina::iterator<const Eolian_Struct_Type_Field> field_iterator(::eolian_typedecl_struct_fields_get(struct_obj))
1149 , field_last; field_iterator != field_last; ++field_iterator) 1149 , field_last; field_iterator != field_last; ++field_iterator)