summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/klass.hh
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-04-09 11:16:17 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-04-09 11:18:10 -0300
commitdf3b28b0ab650beb5d0fede24b164d2cc9c40ba9 (patch)
tree152db8d873f0d764e6f7700637f8ca7770db286f /src/bin/eolian_mono/eolian/mono/klass.hh
parentb1f0031b55b356f9722ee643844fd055653c9678 (diff)
efl-mono: Make override of methods only for methods that are defined by the user
Summary: Instead of overriding every method and making the callback to C, we just override the methods that are found by reflection on the type. Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8579
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/klass.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index e34a126..87ad1bd 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -369,6 +369,7 @@ struct klass
369 << scope_tab << "public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)\n" 369 << scope_tab << "public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)\n"
370 << scope_tab << "{\n" 370 << scope_tab << "{\n"
371 << scope_tab << scope_tab << "var descs = new System.Collections.Generic.List<Efl_Op_Description>();\n" 371 << scope_tab << scope_tab << "var descs = new System.Collections.Generic.List<Efl_Op_Description>();\n"
372 << scope_tab << scope_tab << "var methods = Efl.Eo.Globals.GetUserMethods(type);\n"
372 ) 373 )
373 .generate(sink, attributes::unused, inative_cxt)) 374 .generate(sink, attributes::unused, inative_cxt))
374 return false; 375 return false;