public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); if (efl_core_env_get_static_delegate == null) { efl_core_env_get_static_delegate = new efl_core_env_get_delegate(env_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_core_env_get"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_get_static_delegate) }); if (efl_core_env_set_static_delegate == null) { efl_core_env_set_static_delegate = new efl_core_env_set_delegate(env_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_core_env_set"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_set_static_delegate) }); if (efl_core_env_content_get_static_delegate == null) { efl_core_env_content_get_static_delegate = new efl_core_env_content_get_delegate(content_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_core_env_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_content_get_static_delegate) }); if (efl_core_env_unset_static_delegate == null) { efl_core_env_unset_static_delegate = new efl_core_env_unset_delegate(unset); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_core_env_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_unset_static_delegate) }); if (efl_core_env_clear_static_delegate == null) { efl_core_env_clear_static_delegate = new efl_core_env_clear_delegate(clear); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_core_env_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_clear_static_delegate) }); if (efl_duplicate_static_delegate == null) { efl_duplicate_static_delegate = new efl_duplicate_delegate(duplicate); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_duplicate"), func = Marshal.GetFunctionPointerForDelegate(efl_duplicate_static_delegate) }); descs.AddRange(base.GetEoOps(type)); return(descs); }
/// <summary>Gets the list of Eo operations to override.</summary> /// <returns>The list of Eo operations to be overload.</returns> public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_core_env_get_static_delegate == null) { efl_core_env_get_static_delegate = new efl_core_env_get_delegate(env_get); } if (methods.FirstOrDefault(m => m.Name == "GetEnv") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_core_env_get"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_get_static_delegate) }); } if (efl_core_env_set_static_delegate == null) { efl_core_env_set_static_delegate = new efl_core_env_set_delegate(env_set); } if (methods.FirstOrDefault(m => m.Name == "SetEnv") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_core_env_set"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_set_static_delegate) }); } if (efl_core_env_content_get_static_delegate == null) { efl_core_env_content_get_static_delegate = new efl_core_env_content_get_delegate(content_get); } if (methods.FirstOrDefault(m => m.Name == "GetContent") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_core_env_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_content_get_static_delegate) }); } if (efl_core_env_unset_static_delegate == null) { efl_core_env_unset_static_delegate = new efl_core_env_unset_delegate(unset); } if (methods.FirstOrDefault(m => m.Name == "Unset") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_core_env_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_unset_static_delegate) }); } if (efl_core_env_clear_static_delegate == null) { efl_core_env_clear_static_delegate = new efl_core_env_clear_delegate(clear); } if (methods.FirstOrDefault(m => m.Name == "Clear") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_core_env_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_core_env_clear_static_delegate) }); } if (efl_duplicate_static_delegate == null) { efl_duplicate_static_delegate = new efl_duplicate_delegate(duplicate); } if (methods.FirstOrDefault(m => m.Name == "Duplicate") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_duplicate"), func = Marshal.GetFunctionPointerForDelegate(efl_duplicate_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); return(descs); }