diff options
author | Vitor Sousa <vitorsousa@expertisesolutions.com.br> | 2019-03-08 13:06:55 -0300 |
---|---|---|
committer | Vitor Sousa <vitorsousa@expertisesolutions.com.br> | 2019-03-08 13:06:55 -0300 |
commit | 04ccdefb3bba4070e38946c070403936aaf80898 (patch) | |
tree | a0ea920851e510646b5469b4d2175ba7bc467709 | |
parent | 334b1a54298c2809490cea940e579041882b8510 (diff) | |
download | efl-04ccdefb3bba4070e38946c070403936aaf80898.tar.gz |
eolian_csharp: fix binding of stringshare arguments in events
-rw-r--r-- | src/bin/eolian_mono/eolian/mono/events.hh | 1 |
1 files changed, 1 insertions, 0 deletions
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))"; }} }; |