path: root/src/bin/eolian_cxx
diff options
authorLauro Moura <>2018-04-27 18:08:25 -0300
committerLauro Moura <>2018-05-03 18:04:41 -0300
commitc9dd86579f1e4b585e5dadbc9f69df0abd263917 (patch)
treeba8b38e3600b15dec828e170dbe070dfd2bcb654 /src/bin/eolian_cxx
parentf39baf1e82d7571225ac6429f7486e60abcf604f (diff)
efl_mono: More uniformization of the handling of names
Summary: Uses a common helper to open and close namespaces, to get the managed and unmanaged name of things, the interface, concrete and inherit class names, etc. eolian_cxx: Add namespace information to func_def, as it'll avoid eolian-cxx clients dealing with the eolian C api directly when trying to access a function pointer namespace. Depends on D6048 Reviewers: felipealmeida, vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl Differential Revision:
Diffstat (limited to 'src/bin/eolian_cxx')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/ b/src/bin/eolian_cxx/
index c49bb875d6..70527ddc27 100644
--- a/src/bin/eolian_cxx/
+++ b/src/bin/eolian_cxx/
@@ -247,7 +247,7 @@ types_generate(std::string const& fname, options_type const& opts,
247 const Eolian_Function *func = eolian_typedecl_function_pointer_get(tp); 247 const Eolian_Function *func = eolian_typedecl_function_pointer_get(tp);
248 if (!func) return false; 248 if (!func) return false;
249 249
250 function_def def(func, EOLIAN_FUNCTION_POINTER, opts.unit); 250 function_def def(func, EOLIAN_FUNCTION_POINTER, tp, opts.unit);
251 def.c_name = eolian_typedecl_name_get(tp); 251 def.c_name = eolian_typedecl_name_get(tp);
252 std::replace(def.c_name.begin(), def.c_name.end(), '.', '_'); 252 std::replace(def.c_name.begin(), def.c_name.end(), '.', '_');
253 functions.push_back(std::move(def)); 253 functions.push_back(std::move(def));