summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@gmail.com>2019-02-11 16:53:29 -0200
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-02-11 16:59:10 -0200
commit9277586fd8244826bdfbbc7625c3a08be71f5e06 (patch)
tree3252833738a1009969bcc280011f6f51485b2be8 /src/bin/eolian_mono
parent133b659b7301c2bf577491575a5e7f455b345347 (diff)
efl-csharp: Fix self in iface concrete functions
Summary: It was mistakenly being called as static functions. Fixes T7619 Test Plan: See attached testcase. Reviewers: segfaultxavi, bu5hm4n, vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7619 Differential Revision: https://phab.enlightenment.org/D7904
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian/mono/function_definition.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index 5a78bc7..f89ac95 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -169,7 +169,7 @@ struct function_definition_generator
169 // inherited is set in the constructor, true if this instance is from a pure C# class (not generated). 169 // inherited is set in the constructor, true if this instance is from a pure C# class (not generated).
170 if (do_super && !f.is_static) 170 if (do_super && !f.is_static)
171 self = "(inherited ? Efl.Eo.Globals.efl_super(" + self + ", this.NativeClass) : " + self + ")"; 171 self = "(inherited ? Efl.Eo.Globals.efl_super(" + self + ", this.NativeClass) : " + self + ")";
172 else 172 else if (f.is_static)
173 self = name_helpers::klass_get_full_name(f.klass) + "()"; 173 self = name_helpers::klass_get_full_name(f.klass) + "()";
174 174
175 if(!as_generator 175 if(!as_generator