summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-10-31 18:21:42 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-31 18:39:54 -0300
commit11fb54e4bc7daa3378649bd68d668b0cf614839b (patch)
tree504a0e21846dd9770b9794941018efa72e3d937d /src/bindings/mono/eo_mono
parent81165d743fae05dbf47d2e639f09b073874d306a (diff)
mono: remove duplicated EinaFreeCb delegate
Summary: Use Eina.Claabacks.EinaFreeCb instead. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10577
Diffstat (limited to 'src/bindings/mono/eo_mono')
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs4
-rw-r--r--src/bindings/mono/eo_mono/workaround.cs1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index db4213d..12a7b32 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -738,9 +738,9 @@ public static class Globals
738 efl_mono_wrapper_supervisor_callbacks_set(FreeWrapperSupervisorCallbackDelegate); 738 efl_mono_wrapper_supervisor_callbacks_set(FreeWrapperSupervisorCallbackDelegate);
739 } 739 }
740 740
741 internal static void ThreadSafeFreeCbExec(EinaFreeCb cbFreeCb, IntPtr cbData) 741 internal static void ThreadSafeFreeCbExec(Eina.Callbacks.EinaFreeCb cbFreeCb, IntPtr cbData)
742 { 742 {
743 EinaFreeCb cb = (IntPtr gcHandlePtr) => { 743 Eina.Callbacks.EinaFreeCb cb = (IntPtr gcHandlePtr) => {
744 cbFreeCb(cbData); 744 cbFreeCb(cbData);
745 GCHandle gcHandle = GCHandle.FromIntPtr(gcHandlePtr); 745 GCHandle gcHandle = GCHandle.FromIntPtr(gcHandlePtr);
746 gcHandle.Free(); 746 gcHandle.Free();
diff --git a/src/bindings/mono/eo_mono/workaround.cs b/src/bindings/mono/eo_mono/workaround.cs
index 7730545..66c3ec5 100644
--- a/src/bindings/mono/eo_mono/workaround.cs
+++ b/src/bindings/mono/eo_mono/workaround.cs
@@ -232,5 +232,4 @@ public struct ActionData
232} // namespace Efl 232} // namespace Efl
233 233
234// Global delegates 234// Global delegates
235public delegate void EinaFreeCb(IntPtr data);
236public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info); 235public delegate void EvasSmartCb(IntPtr data, IntPtr obj, IntPtr event_info);