summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-03-02 23:58:20 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-02 23:58:20 +0100
commit6f092071ac54d10dde39889571518e4b9d17308f (patch)
tree15e01d90e647415e9d64d6a9e8eb44f7989802be /src/bin/eolian_mono
parent9e8d96671eab831daee56e664bd88b00ca7b53c6 (diff)
eolian cxx,csharp: Update after eolian changes
Closes D5829.
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian/mono/parameter.hh2
-rw-r--r--src/bin/eolian_mono/eolian/mono/type_impl.hh2
-rw-r--r--src/bin/eolian_mono/eolian_mono.cc8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/parameter.hh b/src/bin/eolian_mono/eolian/mono/parameter.hh
index 834ca1248d..d836124fe0 100644
--- a/src/bin/eolian_mono/eolian/mono/parameter.hh
+++ b/src/bin/eolian_mono/eolian/mono/parameter.hh
@@ -1277,7 +1277,7 @@ struct native_convert_function_pointer_generator
1277 // Getting the type through C api 1277 // Getting the type through C api
1278 std::string type_name = param.type.original_type.visit(type_name_visitor{}); 1278 std::string type_name = param.type.original_type.visit(type_name_visitor{});
1279 1279
1280 const Eolian_Typedecl *tpd = ::eolian_typedecl_alias_get_by_name(param.unit, type_name.c_str()); 1280 const Eolian_Typedecl *tpd = ::eolian_unit_alias_by_name_get(param.unit, type_name.c_str());
1281 if (!tpd) 1281 if (!tpd)
1282 { 1282 {
1283 EINA_LOG_ERR("Failed to get typedecl for c type [%s]", param.type.c_type.c_str()); 1283 EINA_LOG_ERR("Failed to get typedecl for c type [%s]", param.type.c_type.c_str());
diff --git a/src/bin/eolian_mono/eolian/mono/type_impl.hh b/src/bin/eolian_mono/eolian/mono/type_impl.hh
index 9b56805b99..dac1ea152e 100644
--- a/src/bin/eolian_mono/eolian/mono/type_impl.hh
+++ b/src/bin/eolian_mono/eolian/mono/type_impl.hh
@@ -229,7 +229,7 @@ struct visitor_generate
229 // else 229 // else
230 // return false; 230 // return false;
231 // } 231 // }
232 // else if(Eolian_Typedecl const* typedecl = eolian_typedecl_struct_get_by_name(c_type.c_str())) 232 // else if(Eolian_Typedecl const* typedecl = eolian_state_struct_by_name_get(c_type.c_str()))
233 // { 233 // {
234 // return as_generator 234 // return as_generator
235 // ( 235 // (
diff --git a/src/bin/eolian_mono/eolian_mono.cc b/src/bin/eolian_mono/eolian_mono.cc
index e2b0355530..f7f2781a6b 100644
--- a/src/bin/eolian_mono/eolian_mono.cc
+++ b/src/bin/eolian_mono/eolian_mono.cc
@@ -99,8 +99,8 @@ run(options_type const& opts)
99 const Eolian_Typedecl *tp = NULL; 99 const Eolian_Typedecl *tp = NULL;
100 char* dup = strdup(opts.in_file.c_str()); 100 char* dup = strdup(opts.in_file.c_str());
101 std::string basename_input = basename(dup); 101 std::string basename_input = basename(dup);
102 klass = ::eolian_class_get_by_file(opts.unit, basename_input.c_str()); 102 klass = ::eolian_state_class_by_file_get(opts.state, basename_input.c_str());
103 aliases= ::eolian_typedecl_aliases_get_by_file(opts.unit, basename_input.c_str()); 103 aliases= ::eolian_state_aliases_by_file_get(opts.state, basename_input.c_str());
104 free(dup); 104 free(dup);
105 105
106 std::string class_file_name = opts.out_file; 106 std::string class_file_name = opts.out_file;
@@ -169,7 +169,7 @@ run(options_type const& opts)
169 } 169 }
170 //else 170 //else
171 { 171 {
172 for (efl::eina::iterator<const Eolian_Typedecl> enum_iterator( ::eolian_typedecl_enums_get_by_file(opts.unit, basename_input.c_str())) 172 for (efl::eina::iterator<const Eolian_Typedecl> enum_iterator( ::eolian_state_enums_by_file_get(opts.state, basename_input.c_str()))
173 , enum_last; enum_iterator != enum_last; ++enum_iterator) 173 , enum_last; enum_iterator != enum_last; ++enum_iterator)
174 { 174 {
175 efl::eolian::grammar::attributes::enum_def enum_(&*enum_iterator, opts.unit); 175 efl::eolian::grammar::attributes::enum_def enum_(&*enum_iterator, opts.unit);
@@ -179,7 +179,7 @@ run(options_type const& opts)
179 } 179 }
180 } 180 }
181 181
182 for (efl::eina::iterator<const Eolian_Typedecl> struct_iterator( ::eolian_typedecl_structs_get_by_file(opts.unit, basename_input.c_str())) 182 for (efl::eina::iterator<const Eolian_Typedecl> struct_iterator( ::eolian_state_structs_by_file_get(opts.state, basename_input.c_str()))
183 , struct_last; struct_iterator != struct_last; ++struct_iterator) 183 , struct_last; struct_iterator != struct_last; ++struct_iterator)
184 { 184 {
185 efl::eolian::grammar::attributes::struct_def struct_(&*struct_iterator, opts.unit); 185 efl::eolian::grammar::attributes::struct_def struct_(&*struct_iterator, opts.unit);