mono: encapsulate internal Add/RemoveNativeEventHandler

Summary: Depends on D10337

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, woohyun, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10341
This commit is contained in:
Yeongjong Lee 2019-10-28 18:24:15 -03:00 committed by Lauro Moura
parent 90280ffed6
commit 7f2458b20d
1 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
/// <param name="key">The name of the native event.</param>
/// <param name="evtCaller">Delegate to be called by native code on event raising.</param>
/// <param name="evtDelegate">Managed delegate that will be called by evtCaller on event raising.</param>
protected void AddNativeEventHandler(string lib, string key, Efl.EventCb evtCaller, object evtDelegate)
internal void AddNativeEventHandler(string lib, string key, Efl.EventCb evtCaller, object evtDelegate)
{
lock (eflBindingEventLock)
{
@ -294,7 +294,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
/// <param name="lib">The name of the native library definining the event.</param>
/// <param name="key">The name of the native event.</param>
/// <param name="evtDelegate">The delegate to be removed.</param>
protected void RemoveNativeEventHandler(string lib, string key, object evtDelegate)
internal void RemoveNativeEventHandler(string lib, string key, object evtDelegate)
{
lock (eflBindingEventLock)
{