vitorsousa pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=04ccdefb3bba4070e38946c070403936aaf80898

commit 04ccdefb3bba4070e38946c070403936aaf80898
Author: Vitor Sousa <vitorso...@expertisesolutions.com.br>
Date:   Fri Mar 8 13:06:55 2019 -0300

    eolian_csharp: fix binding of stringshare arguments in events
---
 src/bin/eolian_mono/eolian/mono/events.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/eolian_mono/eolian/mono/events.hh 
b/src/bin/eolian_mono/eolian/mono/events.hh
index 2a2aa4c9eb..76e82bdbb1 100644
--- a/src/bin/eolian_mono/eolian/mono/events.hh
+++ b/src/bin/eolian_mono/eolian/mono/events.hh
@@ -51,6 +51,7 @@ struct unpack_event_args_visitor
            , {"int", [&arg] { return arg + ".ToInt32()"; }}
            , {"uint", [&arg] { return "(uint)" + arg + ".ToInt32()";}}
            , {"string", [&arg] { return 
"Eina.StringConversion.NativeUtf8ToManagedString(" + arg + ")"; }}
+           , {"stringshare", [&arg] { return 
"Eina.StringConversion.NativeUtf8ToManagedString(" + arg + ")"; }}
            , {"Eina.Error", [&arg] { return 
"(Eina.Error)Marshal.PtrToStructure(" + arg + ", typeof(Eina.Error))"; }}
         };
 

-- 


Reply via email to