diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2018-03-08 22:53:51 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2018-03-08 22:53:51 +0100 |
commit | 1117a67818baf97015c65bf30372a42b89c074be (patch) | |
tree | 77e5e0c22dc42882b1cefe3405a55038af555978 /src/lib/eolian_cxx | |
parent | 10448fec97997f47944b4cfcc36b2f629be81eab (diff) |
eolian cxx: remove usages of obsolete file_get APIs
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r-- | src/lib/eolian_cxx/grammar/implementation_include_directive.hpp | 2 | ||||
-rw-r--r-- | src/lib/eolian_cxx/grammar/klass_def.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp b/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp index 1fe50df6f7..bba8b4c28e 100644 --- a/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp +++ b/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp | |||
@@ -20,7 +20,7 @@ struct implementation_include_directive_generator | |||
20 | bool generate(OutputIterator sink, attributes::klass_def const& cls, Context const& ctx) const | 20 | bool generate(OutputIterator sink, attributes::klass_def const& cls, Context const& ctx) const |
21 | { | 21 | { |
22 | return as_generator("#include \"" << string << ".impl.hh\"\n") | 22 | return as_generator("#include \"" << string << ".impl.hh\"\n") |
23 | .generate(sink, std::string(eolian_class_file_get(get_klass(get_klass_name(cls, unit_from_context(ctx))))), add_lower_case_context(ctx)); | 23 | .generate(sink, std::string(eolian_object_file_get((const Eolian_Object *)get_klass(get_klass_name(cls, unit_from_context(ctx))))), add_lower_case_context(ctx)); |
24 | } | 24 | } |
25 | template <typename OutputIterator, typename Context> | 25 | template <typename OutputIterator, typename Context> |
26 | bool generate(OutputIterator sink, std::string const& cls, Context const& ctx) const | 26 | bool generate(OutputIterator sink, std::string const& cls, Context const& ctx) const |
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp index 3ffdbe4101..35c3709f00 100644 --- a/src/lib/eolian_cxx/grammar/klass_def.hpp +++ b/src/lib/eolian_cxx/grammar/klass_def.hpp | |||
@@ -634,7 +634,7 @@ struct function_def | |||
634 | if (type != EOLIAN_FUNCTION_POINTER) | 634 | if (type != EOLIAN_FUNCTION_POINTER) |
635 | { | 635 | { |
636 | const Eolian_Class *klass = eolian_function_class_get(function); | 636 | const Eolian_Class *klass = eolian_function_class_get(function); |
637 | filename = eolian_class_file_get(klass); | 637 | filename = eolian_object_file_get((const Eolian_Object *)klass); |
638 | } | 638 | } |
639 | else | 639 | else |
640 | { | 640 | { |
@@ -941,7 +941,7 @@ struct klass_def | |||
941 | this->namespaces.push_back(&*namespace_iterator); | 941 | this->namespaces.push_back(&*namespace_iterator); |
942 | } | 942 | } |
943 | cxx_name = eolian_name = eolian_class_name_get(klass); | 943 | cxx_name = eolian_name = eolian_class_name_get(klass); |
944 | filename = eolian_class_file_get(klass); | 944 | filename = eolian_object_file_get((const Eolian_Object *)klass); |
945 | for(efl::eina::iterator<Eolian_Function const> eolian_functions ( ::eolian_class_functions_get(klass, EOLIAN_PROPERTY)) | 945 | for(efl::eina::iterator<Eolian_Function const> eolian_functions ( ::eolian_class_functions_get(klass, EOLIAN_PROPERTY)) |
946 | , functions_last; eolian_functions != functions_last; ++eolian_functions) | 946 | , functions_last; eolian_functions != functions_last; ++eolian_functions) |
947 | { | 947 | { |