private static Efl.IDuplicate duplicate(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_duplicate was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.IDuplicate _ret_var = default(Efl.IDuplicate); try { _ret_var = ((IEventConcrete)ws.Target).Duplicate(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_duplicate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }
private static Efl.IDuplicate duplicate(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_duplicate was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { Efl.IDuplicate _ret_var = default(Efl.IDuplicate); try { _ret_var = ((Env)wrapper).Duplicate(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_duplicate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }