path: root/src/bindings/mono/eo_mono
diff options
authorLauro Moura <>2019-09-30 23:08:44 -0300
committerFelipe Magno de Almeida <>2019-09-30 23:09:29 -0300
commit74e79b5ae27efa7ed8f4baa1a9c1ae91cd52d178 (patch)
treecc949d7c345a8407c2d7a3c8ded7dc0a3473d12d /src/bindings/mono/eo_mono
parent16e21c331472f7e16fe264afb190027e83fe2661 (diff)
csharp: Allow improved cbs in eina comparators
Summary: Instead of receiving a callback that compares two intptrs (which is still used internally), expose a more C#-friendly delegate which is wrapped into the native one. Test Plan: run test suite Reviewers: felipealmeida, segfaultxavi, brunobelo Reviewed By: felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
Diffstat (limited to 'src/bindings/mono/eo_mono')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bindings/mono/eo_mono/workaround.cs b/src/bindings/mono/eo_mono/workaround.cs
index ff254f0..8422062 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -217,6 +217,5 @@ public struct ActionData
217} // namespace Efl 217} // namespace Efl
218 218
219// Global delegates 219// Global delegates
220public delegate int Eina_Compare_Cb(IntPtr a, IntPtr b);
221public delegate void EinaFreeCb(IntPtr data); 220public delegate void EinaFreeCb(IntPtr data);
222public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info); 221public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info);