summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/function_definition.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-02 19:49:37 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-03 18:04:41 -0300
commit4636d6e0eb1f4a66b202b6cf6df793ec40c135a6 (patch)
treea0fc192dc8e2e52775c8a39209d1bdc740f3a807 /src/bin/eolian_mono/eolian/mono/function_definition.hh
parentc9dd86579f1e4b585e5dadbc9f69df0abd263917 (diff)
efl_mono: Change generated classes naming scheme
Summary: Now the generated classes use an approach more familiar to C# developers: Interfaces: efl.Object -> efl.IObject Concrete (implementation) classes: efl.ObjectConcrete -> efl.Object. During this change, some methods that could clash with the implementation class name (CS0542) had the prefix "Do" added (like in efl.Duplicate.Duplicate() and efl.Pack.Pack()). Depends on D6049 Reviewers: felipealmeida, vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D6050
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/function_definition.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/function_definition.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index b555348..7e44b29 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -105,7 +105,7 @@ struct native_function_definition_generator
105 .generate(sink, std::make_tuple(f.return_type, escape_keyword(f.name), f.parameters 105 .generate(sink, std::make_tuple(f.return_type, escape_keyword(f.name), f.parameters
106 , /***/f.c_name/***/ 106 , /***/f.c_name/***/
107 , f 107 , f
108 , managed_method_name(f.name) 108 , name_helpers::managed_method_name(f)
109 , f.parameters 109 , f.parameters
110 , f 110 , f
111 , f.c_name 111 , f.c_name
@@ -175,7 +175,7 @@ struct function_definition_generator
175 << *(", " << argument_invocation ) << ");\n" 175 << *(", " << argument_invocation ) << ");\n"
176 << eolian_mono::function_definition_epilogue() 176 << eolian_mono::function_definition_epilogue()
177 << " }\n") 177 << " }\n")
178 .generate(sink, std::make_tuple(managed_method_name(f.name), f.parameters, f, f.c_name, f.parameters, f), context)) 178 .generate(sink, std::make_tuple(name_helpers::managed_method_name(f), f.parameters, f, f.c_name, f.parameters, f), context))
179 return false; 179 return false;
180 180
181 return true; 181 return true;