summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-03-25 17:14:32 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-03-26 16:43:25 -0300
commitb530b871bc003af3413c470f116f8a068bde04a0 (patch)
tree9eae8e2f8e75e1c3defc8fb9efe28011e82c7ebd /src/bindings
parent762ae45f056e8358e06d4c1843ae83c97691c774 (diff)
downloadefl-b530b871bc003af3413c470f116f8a068bde04a0.tar.gz
eolian_csharp: hide struct native representation inside the managed struct
Summary: Rework the struct binding generator to declare the native struct nested inside the managed one. This way native structs are less likely to cause confusion; for example with an IDE that supports automatic completion. Get rid of struct conversion class methods in favor of using (the already generated) implicit conversion operators. Depends on D8469 Reviewers: segfaultxavi, lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8470
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/mono/eo_mono/workaround.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/mono/eo_mono/workaround.cs b/src/bindings/mono/eo_mono/workaround.cs
index 4d576771f8..b1f9d9fea7 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -104,7 +104,7 @@ public struct EventDescription {
}
};
-public delegate void EventCb(System.IntPtr data, ref Event_StructInternal evt);
+public delegate void EventCb(System.IntPtr data, ref Event.NativeStruct evt);
[StructLayout(LayoutKind.Sequential)]
public struct TextCursorCursor {